'${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} = 424963 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_424963 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_424963 ${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_424963 --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_424963 --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} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${stdout} Logs the given message with the given level. 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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_424963 " | 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_424963 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${param_name} = vim_account_id ${param_value} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="1434eef3-bf48-4c3f-92a2-b62605700cc9", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:38:57 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${param_name} = vim_account_id ${param_value} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="1434eef3-bf48-4c3f-92a2-b62605700cc9", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:39:12 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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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=1434eef3-bf48-4c3f-92a2-b62605700cc9 ${param_name} = vim_account_id ${param_value} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="1434eef3-bf48-4c3f-92a2-b62605700cc9", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221434eef3-bf48-4c3f-92a2-b62605700cc9%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:39:27 GMT', 'Content-Length': '234'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vim_account_id":"1434eef3-bf48-4c3f-92a2-b62605700cc9"},"value":[1712795967.065,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527e9a318', 'vim_account_id': '1434eef3-bf48-4c3f-92a2-b62605700cc9'... ${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_424963 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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} = 1434eef3-bf48-4c3f-92a2-b62605700cc9 ${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_424963 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_424963 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} = 781981 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_781981 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_781981 ${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_781981 --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_781981 --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_781981 --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} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${stdout} Logs the given message with the given level. 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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_781981 " | 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_781981 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${param_name} = vim_account_id ${param_value} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="0db29107-8e88-46d9-9ec7-7b443026ba40", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:39:35 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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${param_name} = vim_account_id ${param_value} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="0db29107-8e88-46d9-9ec7-7b443026ba40", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:39:50 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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${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=0db29107-8e88-46d9-9ec7-7b443026ba40 ${param_name} = vim_account_id ${param_value} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="0db29107-8e88-46d9-9ec7-7b443026ba40", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%220db29107-8e88-46d9-9ec7-7b443026ba40%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:40:05 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vim_account_id":"0db29107-8e88-46d9-9ec7-7b443026ba40"},"value":[1712796005.925,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527e9a318', 'vim_account_id': '0db29107-8e88-46d9-9ec7-7b443026ba40'... ${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_781981 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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} = 0db29107-8e88-46d9-9ec7-7b443026ba40 ${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 0db29107-8e88-46d9-9ec7-7b443026ba40 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 0db29107-8e88-46d9-9ec7-7b443026ba40 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 ab0605b1-d649-49fa-92f0-02bc8abd743d ${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} = ab0605b1-d649-49fa-92f0-02bc8abd743d 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 886eeb67-681d-4646-8ab8-ecff8bab6d0f ${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} = 886eeb67-681d-4646-8ab8-ecff8bab6d0f 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} = 1c603e22-5edb-4d51-89fc-2d62f25cd97b ${stdout} Logs the given message with the given level. 1c603e22-5edb-4d51-89fc-2d62f25cd97b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1c603e22-5edb-4d51-89fc-2d62f25cd97b ${ns_id} Logs the given message with the given level. 1c603e22-5edb-4d51-89fc-2d62f25cd97b ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instanc... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40:14 | BUILDING | INSTANTIATING (3484b657-9c08-4cad-b5dc-3bbf2ed89c2e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40:14 | BUILDING | INSTANTIATING (3484b657-9c08-4cad-b5dc-3bbf2ed89c2e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 94b73469-d199-46b3-a153-9363d21773c0 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instanc... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40:14 | BUILDING | INSTANTIATING (3484b657-9c08-4cad-b5dc-3bbf2ed89c2e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40:14 | BUILDING | INSTANTIATING (3484b657-9c08-4cad-b5dc-3bbf2ed89c2e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 94b73469-d199-46b3-a153-9363d21773c0 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_05_instantiation_params_cloud_init | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40: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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 94b73469-d199-46b3-a153-9363d21773c0 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_05_instantiation_params_cloud_init | 1c603e22-5edb-4d51-89fc-2d62f25cd97b | 2024-04-11T00:40: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} = 1c603e22-5edb-4d51-89fc-2d62f25cd97b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1c603e22-5edb-4d51-89fc-2d62f25cd97b 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 1c603e22-5edb-4d51-89fc-2d62f25cd97b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.139 ${stdout} Logs the given message with the given level. 172.21.249.139 ${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.139 ${ip_addr} Logs the given message with the given level. 172.21.249.139 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.139 basic_05 cluster_main daily regression ${vnf_ip_addr} msg=IP address of the management VNF is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${new_password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.139:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:41:58 UTC 2024 System load: 0.57 Processes: 98 Usage of /: 11.5% of 9.52GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.139 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} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 94b73469-d199-46b3-a153-9363d21773c0 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_05_instantiation_params_cloud_init 2>&1'. ${rc} = 0 ${stdout} = basic_05_instantiation_params_cloud_init ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_05_instantiation_params_cloud_init == basic_05_instantiation_params_cloud_init ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_05_instantiation_params_cloud_init 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ubuntu_cloudinit-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ubuntu_cloudinit-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ubuntu_cloudinit-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ubuntu_cloudinit-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-05] Instantiation parameters in cloud-init. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-syst... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz 4fabe7ce-f263-428c-a3a1-32c41b835d2a ${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} = 4fabe7ce-f263-428c-a3a1-32c41b835d2a 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 d919ab52-61b7-47e3-a2e0-715d5de6d894 ${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} = d919ab52-61b7-47e3-a2e0-715d5de6d894 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} = a57577e6-d6e5-477c-8cb9-8b24817ccdb8 ${stdout} Logs the given message with the given level. a57577e6-d6e5-477c-8cb9-8b24817ccdb8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a57577e6-d6e5-477c-8cb9-8b24817ccdb8 ${ns_id} Logs the given message with the given level. a57577e6-d6e5-477c-8cb9-8b24817ccdb8 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | c8e05cb9-7d71-4d4c-9760-aad67536e3fe | heal_02-charm_vnf-mgmtVM-1 | ERROR | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | BUILDING | INSTANTIATING (de58e2a5-05e9-4496-96dc-7767213c11b9) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_06_charm_test | a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | 2024-04-11T00:42:34 | 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} = a57577e6-d6e5-477c-8cb9-8b24817ccdb8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a57577e6-d6e5-477c-8cb9-8b24817ccdb8 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 a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.169 ${stdout} Logs the given message with the given level. 172.21.249.169 ${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.169 ${ip_addr_1} Logs the given message with the given level. 172.21.249.169 ${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.169 ${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 a57577e6-d6e5-477c-8cb9-8b24817ccdb8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.15 ${stdout} Logs the given message with the given level. 172.21.249.15 ${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.15 ${ip_addr_2} Logs the given message with the given level. 172.21.249.15 ${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.15 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.169:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:45:24 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.169 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.15:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:45:25 UTC 2024 System load: 0.08 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.15 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.169:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:45:27 UTC 2024 System load: 0.08 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.169 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:45:24 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.15:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:45:29 UTC 2024 System load: 0.08 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.15 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:45: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@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} = 7a41174a-f999-4062-ad3d-6beec628d516 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7a41174a-f999-4062-ad3d-6beec628d516 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 7a41174a-f999-4062-ad3d-6beec628d516 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7a41174a-f999-4062-ad3d-6beec628d516 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7a41174a-f999-4062-ad3d-6beec628d516 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 7a41174a-f999-4062-ad3d-6beec628d516 ${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} = 43347caf-bdae-4fe8-8c73-418b4a77481f ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 43347caf-bdae-4fe8-8c73-418b4a77481f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 43347caf-bdae-4fe8-8c73-418b4a77481f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 43347caf-bdae-4fe8-8c73-418b4a77481f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 43347caf-bdae-4fe8-8c73-418b4a77481f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 43347caf-bdae-4fe8-8c73-418b4a77481f 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.169:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:46:11 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.169 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:45: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@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.15:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:46:13 UTC 2024 System load: 0.08 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.15 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:45:29 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. basic_06 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 5d0252af-a004-412b-9c1b-d1879eb2d1cf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.11; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 7f912826-89cc-4b22-9a14-6446aad2c17b | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.137.209; osm-ext=172.21.249.169 | ubuntu18.04 | simple_requires-1-1-flv | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = basic_06_charm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_06_charm_test == basic_06_charm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = basic_06_charm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_06_charm_test == basic_06_charm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_06_charm_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ha_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ha_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ha_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ha_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-06] VNF with Charm. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_proxy_charm_vnf Package created:... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf.tar.gz ebdee30c-34c4-48b1-a869-2f288119bfd7 ${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} = ebdee30c-34c4-48b1-a869-2f288119bfd7 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 ae8a822a-af10-42ee-a77e-71b70d46d96e ${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} = ae8a822a-af10-42ee-a77e-71b70d46d96e 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} = c09adc55-2b27-45aa-a824-e1b4b981d833 ${stdout} Logs the given message with the given level. c09adc55-2b27-45aa-a824-e1b4b981d833 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c09adc55-2b27-45aa-a824-e1b4b981d833 ${ns_id} Logs the given message with the given level. c09adc55-2b27-45aa-a824-e1b4b981d833 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.76.160; osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.76.219; osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.76.82; osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47:05 | BUILDING | INSTANTIATING (5ecaf862-a0f7-45c5-aa7b-c9aac26efc6b) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | fa471d76-fd4e-4b0f-ab4d-e621d1e96f46 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.144 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47: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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | 5ce6031f-f8a0-43da-9d64-1c65b3717fe6 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.229 | ubuntu18.04 | osm.heal02_620313 | | 2616c8af-7000-4943-a83c-4b898be95b52 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.122 | ubuntu18.04 | osm.heal02_620313 | | 47526697-4a88-4648-ac4e-008a79947a84 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.242 | ubuntu18.04 | osm.heal02_620313 | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_07_secure_key_management | c09adc55-2b27-45aa-a824-e1b4b981d833 | 2024-04-11T00:47: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} = c09adc55-2b27-45aa-a824-e1b4b981d833 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} = c09adc55-2b27-45aa-a824-e1b4b981d833 ${stdout} Logs the given message with the given level. c09adc55-2b27-45aa-a824-e1b4b981d833 ${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} = c09adc55-2b27-45aa-a824-e1b4b981d833 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c09adc55-2b27-45aa-a824-e1b4b981d833 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 c09adc55-2b27-45aa-a824-e1b4b981d833 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.107 ${stdout} Logs the given message with the given level. 172.21.249.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.249.107 ${ip_addr} Logs the given message with the given level. 172.21.249.107 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.107 basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} msg=IP address of the management VNF is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.107:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:49:54 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.107 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.107:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:49:56 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.107 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:49: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-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} = e8c0b3f0-31a9-4f1b-ad29-c6de41462502 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e8c0b3f0-31a9-4f1b-ad29-c6de41462502 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id e8c0b3f0-31a9-4f1b-ad29-c6de41462502 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e8c0b3f0-31a9-4f1b-ad29-c6de41462502 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e8c0b3f0-31a9-4f1b-ad29-c6de41462502 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = e8c0b3f0-31a9-4f1b-ad29-c6de41462502 Performs one Day 2 operation that creates a new file, this action is executed without password too. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_2_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.107:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 00:50:18 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.107 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 00:49:57 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | de774adc-e87b-44a7-9729-085539ede9f9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.176; osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 7496d073-e460-4d6d-a54c-ad42c9fb3bc0 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.113.81; osm-ext=172.21.249.107 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete nopasswd_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep nopasswd_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nopasswd_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nopasswd_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-07] Secure key management. ${created_vim_account_id} ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config=${vim_config} Create a VIM Target in OSM. The optional parameters (such as 'config' or 'sdn_controller') are given to this function in name=value format. These parameters will be appended to the 'osm vim-create' command with the next syntax: --param_name=param_value Return the ID of the created VIM Target. Example of execution: ${vim_account_id}= Create VIM Target ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config='{...}' ${osm_vim_create_command} osm vim-create --name ${vim_name} --user ${vim_user} --password ${vim_password} --auth_url ${vim_auth_url} --tenant ${vim_tenant} --account_type ${vim_account_type} Returns the given values which can then be assigned to a variables. ${osm_vim_create_command} = osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack ${param} @{optional_parameters} config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${param_name} = config ${param_value} = '{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${osm_vim_create_command} ${osm_vim_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_vim_create_command} = osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{disable_netwo... ${rc} ${stdout} ${osm_vim_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' 2>&1'. ${rc} = 0 ${stdout} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${stdout} Logs the given message with the given level. 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${param_name} = vim_account_id ${param_value} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:51:07 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${param_name} = vim_account_id ${param_value} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:51:22 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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${param_name} = vim_account_id ${param_value} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:51:38 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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${param_name} = vim_account_id ${param_value} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:51:53 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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${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=85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${param_name} = vim_account_id ${param_value} = 85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2285c6c6b7-992c-4d88-8c47-abdcfbdc2b1a%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 00:52:08 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vim_account_id":"85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a"},"value":[1712796728.115,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527e9a318', 'vim_account_id': '85c6c6b7-992c-4d88-8c47-abdcfbdc2b1a'... ${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 ca73c3fb-a3f1-4242-b7b8-f08c36434ac5 ${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} = ca73c3fb-a3f1-4242-b7b8-f08c36434ac5 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 ca13abc7-b16d-441d-9b35-2d5e33bbb634 ${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} = ca13abc7-b16d-441d-9b35-2d5e33bbb634 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} = 6897f647-f575-4ee8-80a0-cc5e1f5e3795 ${stdout} Logs the given message with the given level. 6897f647-f575-4ee8-80a0-cc5e1f5e3795 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 6897f647-f575-4ee8-80a0-cc5e1f5e3795 ${ns_id} Logs the given message with the given level. 6897f647-f575-4ee8-80a0-cc5e1f5e3795 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | n... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | BUILDING | INSTANTIATING (77c3620d-1fe3-436f-9395-6f9c8717de43) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | BUILDING | INSTANTIATING (77c3620d-1fe3-436f-9395-6f9c8717de43) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a7d29fec-c1ad-449a-bc22-7e5ae51c2506 | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ecd1cb3a-9a0b-48c1-8ee8-13de09e5a7dd | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 9d2f6b81-13f8-4a51-ae2d-6f2ac4f57212 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 930e2121-56ff-45ff-bfc2-7141cbb666a6 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.158.145; osm-ext=172.21.248.86 | ubuntu20.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | n... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | BUILDING | INSTANTIATING (77c3620d-1fe3-436f-9395-6f9c8717de43) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | BUILDING | INSTANTIATING (77c3620d-1fe3-436f-9395-6f9c8717de43) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+----... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | a7d29fec-c1ad-449a-bc22-7e5ae51c2506 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.110; basic_08_disable-internal=192.168.241.244 | ubuntu20.04 | simple_requires-1-1-flv | | ecd1cb3a-9a0b-48c1-8ee8-13de09e5a7dd | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.241.112; osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 9d2f6b81-13f8-4a51-ae2d-6f2ac4f57212 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.175; basic_08_disable-internal=192.168.158.110 | ubuntu20.04 | simple_requires-1-1-flv | | 930e2121-56ff-45ff-bfc2-7141cbb666a6 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.158.145; osm-ext=172.21.248.86 | ubuntu20.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_08_disable_port_security_network_level_test | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | READY | IDLE (None) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+----... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | a7d29fec-c1ad-449a-bc22-7e5ae51c2506 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.110; basic_08_disable-internal=192.168.241.244 | ubuntu20.04 | simple_requires-1-1-flv | | ecd1cb3a-9a0b-48c1-8ee8-13de09e5a7dd | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.241.112; osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 9d2f6b81-13f8-4a51-ae2d-6f2ac4f57212 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.175; basic_08_disable-internal=192.168.158.110 | ubuntu20.04 | simple_requires-1-1-flv | | 930e2121-56ff-45ff-bfc2-7141cbb666a6 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.158.145; osm-ext=172.21.248.86 | ubuntu20.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_08_disable_port_security_network_level_test | 6897f647-f575-4ee8-80a0-cc5e1f5e3795 | 2024-04-11T00:52:13 | READY | IDLE (None) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 6897f647-f575-4ee8-80a0-cc5e1f5e3795 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 6897f647-f575-4ee8-80a0-cc5e1f5e3795 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | a7d29fec-c1ad-449a-bc22-7e5ae51c2506 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.110; basic_08_disable-internal=192.168.241.244 | ubuntu20.04 | simple_requires-1-1-flv | | ecd1cb3a-9a0b-48c1-8ee8-13de09e5a7dd | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.241.112; osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 9d2f6b81-13f8-4a51-ae2d-6f2ac4f57212 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.61.175; basic_08_disable-internal=192.168.158.110 | ubuntu20.04 | simple_requires-1-1-flv | | 930e2121-56ff-45ff-bfc2-7141cbb666a6 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.158.145; osm-ext=172.21.248.86 | ubuntu20.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 0 ${stdout} = basic_08_disable_port_security_network_level_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08_disable_port_security_network_level_test == basic_08_disable_port_security_network_level_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a7d29fec-c1ad-449a-bc22-7e5ae51c2506 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.241.244 | ubuntu20.04 | simple_requires-1-1-flv | | ecd1cb3a-9a0b-48c1-8ee8-13de09e5a7dd | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.241.112; osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 0 ${stdout} = basic_08_disable_port_security_network_level_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08_disable_port_security_network_level_test == basic_08_disable_port_security_network_level_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_multivdu-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_multivdu-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_multivdu-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_multivdu-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${vim_name} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete basic_08_vim_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep basic_08_vim_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VIM Target ${vim_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-08] Disable port security at network level. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz b93631b7-6cea-4b42-ab27-6b42c2737089 ${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} = b93631b7-6cea-4b42-ab27-6b42c2737089 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 9d40eb3e-b6f2-4d39-813e-5d6936d39943 ${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} = 9d40eb3e-b6f2-4d39-813e-5d6936d39943 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} = d68c372a-5877-4633-a6b9-e83394ccf532 ${stdout} Logs the given message with the given level. d68c372a-5877-4633-a6b9-e83394ccf532 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d68c372a-5877-4633-a6b9-e83394ccf532 ${ns_id} Logs the given message with the given level. d68c372a-5877-4633-a6b9-e83394ccf532 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_09_manual_scaling_test | d68c372a-5877-4633-a6b9-e83394ccf532 | 2024-04-11T00:54:22 | BUILDING | INSTANTIATING (013c6efd-bf0c-4b08-8170-70bb799ab672) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d68c372a-5877-4633-a6b9-e83394ccf532 | 2024-04-11T00:54:22 | BUILDING | INSTANTIATING (013c6efd-bf0c-4b08-8170-70bb799ab672) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 475513eb-f9e2-4029-8c4e-6027f42f77ed | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_09_manual_scaling_test | d68c372a-5877-4633-a6b9-e83394ccf532 | 2024-04-11T00:54: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... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 475513eb-f9e2-4029-8c4e-6027f42f77ed | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_09_manual_scaling_test | d68c372a-5877-4633-a6b9-e83394ccf532 | 2024-04-11T00:54: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} = d68c372a-5877-4633-a6b9-e83394ccf532 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} = d68c372a-5877-4633-a6b9-e83394ccf532 ${stdout} Logs the given message with the given level. d68c372a-5877-4633-a6b9-e83394ccf532 ${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} = d68c372a-5877-4633-a6b9-e83394ccf532 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d68c372a-5877-4633-a6b9-e83394ccf532 basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep d68c372a-5877-4633-a6b9-e83394ccf532 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 603d7bac-9264-4265-a34c-12178e3d7104 ${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} = [ 603d7bac-9264-4265-a34c-12178e3d7104 ] @{vnfr_list} = [ 603d7bac-9264-4265-a34c-12178e3d7104 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 603d7bac-9264-4265-a34c-12178e3d7104 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 603d7bac-9264-4265-a34c-12178e3d7104 basic_09 cluster_main daily regression verify @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 603d7bac-9264-4265-a34c-12178e3d7104 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 1 ${vdurs} = 1 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 1 Get the number of VDU records before the manual scaling. basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_09_manual_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_09_manual_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = b8615a62-5221-4de2-a854-05cafc79417c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b8615a62-5221-4de2-a854-05cafc79417c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id b8615a62-5221-4de2-a854-05cafc79417c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b8615a62-5221-4de2-a854-05cafc79417c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id b8615a62-5221-4de2-a854-05cafc79417c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b8615a62-5221-4de2-a854-05cafc79417c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b8615a62-5221-4de2-a854-05cafc79417c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = b8615a62-5221-4de2-a854-05cafc79417c basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 603d7bac-9264-4265-a34c-12178e3d7104 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 1: basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_09_manual_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_09_manual_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = 02ed824f-d2cd-4566-9688-165de3eb0db4 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02ed824f-d2cd-4566-9688-165de3eb0db4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 02ed824f-d2cd-4566-9688-165de3eb0db4 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02ed824f-d2cd-4566-9688-165de3eb0db4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02ed824f-d2cd-4566-9688-165de3eb0db4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 02ed824f-d2cd-4566-9688-165de3eb0db4 basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 603d7bac-9264-4265-a34c-12178e3d7104 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 1 ${vdurs} = 1 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_09 cluster_main daily regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_09_manual_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 475513eb-f9e2-4029-8c4e-6027f42f77ed | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_09_manual_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_09_manual_scaling_test == basic_09_manual_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_09_manual_scaling_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-09] Manual VNF/VDU Scaling. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_charm_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_charm_vnf.tar.gz 960d6307-0492-4e29-b7f5-d9597fe672ab ${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} = 960d6307-0492-4e29-b7f5-d9597fe672ab 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 49e68412-cee3-4216-988b-105a6cd089fc ${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} = 49e68412-cee3-4216-988b-105a6cd089fc 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} = 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 ${stdout} Logs the given message with the given level. 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 ${ns_id} Logs the given message with the given level. 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 999e1c52-9157-40a4-b108-ecda50b45fdd | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | c9e8e10e-5009-4a2d-b0fc-44a304035f17 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 53e40bcb-e320-4c1e-8e6c-2ad819f92a39 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | BUILDING | INSTANTIATING (1ee4a53c-4035-421f-8a58-360ff5967581) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_11_native_charms | 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | 2024-04-11T00:56:40 | 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} = 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 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 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.58 ${stdout} Logs the given message with the given level. 172.21.249.58 ${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.58 ${ip_addr_1} Logs the given message with the given level. 172.21.249.58 ${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.58 ${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 98b49c43-ea5f-48b0-97c1-cf2e52b4ebc8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.68 ${stdout} Logs the given message with the given level. 172.21.248.68 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.68 ${ip_addr_2} Logs the given message with the given level. 172.21.248.68 ${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.68 basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.58:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 01:01:10 UTC 2024 System load: 0.3 Processes: 99 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.58 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.68:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 01:01:12 UTC 2024 System load: 0.28 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.68 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.58:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 01:01:14 UTC 2024 System load: 0.28 Processes: 99 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.58 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 01:01:10 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.68:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 01:01:16 UTC 2024 System load: 0.28 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.68 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 01:01:13 2024 from 172.21.249.4 ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. basic_11 cluster_ee_config cluster_relations daily regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.120; osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = basic_11_native_charms ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11_native_charms == basic_11_native_charms ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 7e61dac1-b746-4e24-bd66-125703b97ec0 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.70.247; osm-ext=172.21.248.68 | ubuntu18.04 | simple_requires-1-1-flv | | da1c98a5-b472-4ac9-8df4-15479b46685c | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = basic_11_native_charms ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11_native_charms == basic_11_native_charms ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-11] Native Charms ${rc} ${stdout} cp -r '%{PACKAGES_FOLDER}/${nsd_pkg}' '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Runs the given command in the system and returns the RC and output. Running command 'cp -r '/robot-systest/osm-packages/nscharm_ns' '/robot-systest/osm-packages/new_nscharm_ns' 2>&1'. ${rc} = 0 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsd_yaml} %{PACKAGES_FOLDER}/${new_nsd_pkg}/${nsd_file} Returns the contents of a specified file. Getting file '<a href="file:///robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml">/robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml</a>'. ${nsd_yaml} = nsd: nsd: - description: NS with 2 VNFs df: - id: default-df vnf-profile: - id: '1' virtual-link-connectivity: - constituent-cpd-id: - constituent-bas... ${changed_nsd_yaml} ${nsd_yaml} ${old_juju_password} %{JUJU_PASSWORD} Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${changed_nsd_yaml} = nsd: nsd: - description: NS with 2 VNFs df: - id: default-df vnf-profile: - id: '1' virtual-link-connectivity: - constituent-cpd-id: - constituent-bas... %{PACKAGES_FOLDER}/${new_nsd_pkg}/${nsd_file} ${changed_nsd_yaml} Creates a file with the given content and encoding. Created file '<a href="file:///robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml">/robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml</a>'. NS package needs to be updated with the Juju credentials for your OSM installation basic_12 cluster_ee_config daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/nscharm_policy_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/nscharm_policy_vnf Validation OK List of charms in the descriptor: {'vnf-policy_ubuntu-20.04-amd64.charm'} Adding File: nscharm_policy_vnf Package create... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/nscharm_policy_vnf Validation OK List of charms in the descriptor: {'vnf-policy_ubuntu-20.04-amd64.charm'} Adding File: nscharm_policy_vnf Package created: /robot-systest/osm-packages/nscharm_policy_vnf.tar.gz Uploading package /robot-systest/osm-packages/nscharm_policy_vnf.tar.gz 75e3c599-d0f2-4816-acb9-63fd64560a7f ${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} = 75e3c599-d0f2-4816-acb9-63fd64560a7f '%{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 7dec4343-85f3-45d7-953b-f4ad08802bdd ${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} = 7dec4343-85f3-45d7-953b-f4ad08802bdd 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 ab624ac6-6c48-46e1-a62c-1694f5358841 ${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} = ab624ac6-6c48-46e1-a62c-1694f5358841 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} = 452cfd5c-9331-410e-9d6b-86d31ba4cab5 ${stdout} Logs the given message with the given level. 452cfd5c-9331-410e-9d6b-86d31ba4cab5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 452cfd5c-9331-410e-9d6b-86d31ba4cab5 ${ns_id} Logs the given message with the given level. 452cfd5c-9331-410e-9d6b-86d31ba4cab5 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | BUILDING | INSTANTIATING (dc68b3b4-611d-48ae-b7dd-c9bbd884795f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | test_nscharm | 452cfd5c-9331-410e-9d6b-86d31ba4cab5 | 2024-04-11T01:02:11 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 452cfd5c-9331-410e-9d6b-86d31ba4cab5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 452cfd5c-9331-410e-9d6b-86d31ba4cab5 basic_12 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete test_nscharm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103; test_nscharm-internal=192.168.245.59 | ubuntu18.04 | simple_requires-1-1-flv | | defa83fa-636a-4fd6-ba66-96201b702373 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.182; test_nscharm-internal=192.168.253.14 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.4.71; osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.4.11; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.4.8; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 0 ${stdout} = test_nscharm ${stdout} ${ns} Fails if objects are equal after converting them to strings. test_nscharm == test_nscharm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 779b0a38-de10-4124-a966-453d69936236 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 9d90122e-f519-4913-a8b6-7e8f565d2550 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | simple_requires-1-1-flv | | d118fea5-6a5a-4b51-a766-ab5ebef21681 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | d18364ec-bc56-42ba-968b-d883aa99de18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 5926dcb8-629e-4c68-a036-da998f668257 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 0 ${stdout} = test_nscharm ${stdout} ${ns} Fails if objects are equal after converting them to strings. test_nscharm == test_nscharm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_12 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete nscharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep nscharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_nscharm_ns'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. basic_12 cleanup cluster_ee_config daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nscharm-policy-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nscharm-policy-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nscharm-user-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nscharm-user-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_12 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor and instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name1} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name2} Runs the given keyword with the given arguments, if one or more tests failed. '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_nscharm_ns'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. [BASIC-12] NS Primitives '%{PACKAGES_FOLDER}/${vnfd_pkg1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf Validation OK List of charms in the descriptor: {'simple_provides'} Adding File: ns_relations_provides_vnf Packa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf Validation OK List of charms in the descriptor: {'simple_provides'} Adding File: ns_relations_provides_vnf Package created: /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf.tar.gz 49639e49-964c-41b8-90ec-be3e64aa6b88 ${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} = 49639e49-964c-41b8-90ec-be3e64aa6b88 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 d604b2b5-8feb-4d99-8ec7-d755a95c107b ${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} = d604b2b5-8feb-4d99-8ec7-d755a95c107b 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 60c1a579-3632-4b9a-9b50-c160a51ffc78 ${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} = 60c1a579-3632-4b9a-9b50-c160a51ffc78 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} = 541e9b2a-026b-431b-a761-932dddc6eacb ${stdout} Logs the given message with the given level. 541e9b2a-026b-431b-a761-932dddc6eacb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 541e9b2a-026b-431b-a761-932dddc6eacb ${ns_id} Logs the given message with the given level. 541e9b2a-026b-431b-a761-932dddc6eacb ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05:59 | BUILDING | INSTANTIATING (ca6d228a-bd73-4998-8e7f-4d01e0ef884f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05: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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_13_ns_relations_test | 541e9b2a-026b-431b-a761-932dddc6eacb | 2024-04-11T01:05: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} = 541e9b2a-026b-431b-a761-932dddc6eacb ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 541e9b2a-026b-431b-a761-932dddc6eacb basic_13 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_13_ns_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13_ns_relations_test == basic_13_ns_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b2c39f44-9d9a-4a0e-a2f4-ea4c28376c87 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu18.04 | simple_requires-1-1-flv | | 25fb5b15-7e98-48b5-8bac-f2662d136ead | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.222 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_13_ns_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13_ns_relations_test == basic_13_ns_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ns_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ns_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_provides-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_provides-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_requires-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_requires-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-13] NS Relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/vnf_relations_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Package created: /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz 60e85336-0b4f-4335-bbce-24a049f86966 ${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} = 60e85336-0b4f-4335-bbce-24a049f86966 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 78764cdb-c29d-46b7-937c-7cf4de18fb17 ${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} = 78764cdb-c29d-46b7-937c-7cf4de18fb17 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} = aabca02e-b220-464f-98dc-43d57ac0fa82 ${stdout} Logs the given message with the given level. aabca02e-b220-464f-98dc-43d57ac0fa82 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = aabca02e-b220-464f-98dc-43d57ac0fa82 ${ns_id} Logs the given message with the given level. aabca02e-b220-464f-98dc-43d57ac0fa82 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | 26eef627-7dc2-4c9e-8579-7911bbdc7ed9 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | cf4e90ff-feaf-4312-b980-b7d7e175033c | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.207 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | BUILDING | INSTANTIATING (b198f273-839a-40ea-94ba-85d9a353fe02) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_14_vnf_relations_test | aabca02e-b220-464f-98dc-43d57ac0fa82 | 2024-04-11T01:10:53 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = aabca02e-b220-464f-98dc-43d57ac0fa82 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = aabca02e-b220-464f-98dc-43d57ac0fa82 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 | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | e720f6d1-e64d-4030-8b6f-76da5a1db040 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu18.04 | simple_requires-1-1-flv | | 35cb7f08-a2c7-4e85-825b-0f6357b9f298 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete vnf_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep vnf_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete vnf_relations-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep vnf_relations-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-14] VNF Relations ${user_name} ${user_password} ${user_name} Verifies that the given item is not empty. Length is 18 ${user_password} Verifies that the given item is not empty. Length is 18 ${rc} ${stdout} osm user-create ${user_name} --password ${user_password} Runs the given command in the system and returns the RC and output. Running command 'osm user-create basic_15_test_user --password basic_15_user_pass 2>&1'. ${rc} = 0 ${stdout} = cb0fa00e-d039-43d6-aeb4-44601f8862b0 ${stdout} Logs the given message with the given level. cb0fa00e-d039-43d6-aeb4-44601f8862b0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_name} Verifies that the given item is not empty. Length is 18 ${rc} ${stdout} osm user-list | awk 'NR>3 {print $2}' | grep "${user_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-list | awk 'NR>3 {print $2}' | grep "basic_15_test_user"'. ${rc} = 0 ${stdout} = basic_15_test_user ${stdout} Logs the given message with the given level. basic_15_test_user ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${user_name} ${user_project} ${user_role} ${user_name} Verifies that the given item is not empty. Length is 18 ${project_name} Verifies that the given item is not empty. Length is 5 ${role_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm user-update --add-project-role '${project_name},${role_name}' ${user_name} Runs the given command in the system and returns the RC and output. Running command 'osm user-update --add-project-role 'admin,project_user' basic_15_test_user 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_project} ${user_name} Verifies that the given item is not empty. Length is 18 ${project_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show basic_15_test_user | grep "project_name" | grep "admin" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "admin", | ${stdout} Logs the given message with the given level. | | "project_name": "admin", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_role} ${user_project} ${user_name} Verifies that the given item is not empty. Length is 18 ${role_name} Verifies that the given item is not empty. Length is 12 ${project_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm user-show ${user_name} | grep -B1 "role_name" | grep -B1 "${role_name}" | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show basic_15_test_user | grep -B1 "role_name" | grep -B1 "project_user" | grep "project_name" | grep "admin" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "admin", | ${stdout} Logs the given message with the given level. | | "project_name": "admin", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${rc} ${stdout} OSM_USER=${user_name} OSM_PROJECT=${user_project} OSM_PASSWORD=${user_password} osm ns-list Runs the given command in the system and returns the RC and output. Running command 'OSM_USER=basic_15_test_user OSM_PROJECT=admin OSM_PASSWORD=basic_15_user_pass osm ns-list 2>&1'. ${rc} = 0 ${stdout} = +------------------+----+------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+----+------+--------... ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${project_name} ${project_name} Verifies that the given item is not empty. Length is 21 ${rc} ${stdout} osm project-create ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-create basic_15_test_project 2>&1'. ${rc} = 0 ${stdout} = bf57996e-b1be-4bcf-8c65-d1699460749a ${stdout} Logs the given message with the given level. bf57996e-b1be-4bcf-8c65-d1699460749a ${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} = 8f17e2a5-7faf-45ea-9de3-df4ad73b2a09 ${stdout} Logs the given message with the given level. 8f17e2a5-7faf-45ea-9de3-df4ad73b2a09 ${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 53ee7456-1947-49fd-8d36-9a87112b69a7 ${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} = 53ee7456-1947-49fd-8d36-9a87112b69a7 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 ca93e172-1270-4df1-87ad-67aa81dff344 ${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} = ca93e172-1270-4df1-87ad-67aa81dff344 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} = bff15610-bf07-474f-b8c2-8c0c5f9e3d95 ${stdout} Logs the given message with the given level. bff15610-bf07-474f-b8c2-8c0c5f9e3d95 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = bff15610-bf07-474f-b8c2-8c0c5f9e3d95 ${ns_id} Logs the given message with the given level. bff15610-bf07-474f-b8c2-8c0c5f9e3d95 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | BUILDING | INSTANTIATING (bd7b4bed-7710-41cb-947c-411bb07c4378) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | BUILDING | INSTANTIATING (bd7b4bed-7710-41cb-947c-411bb07c4378) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9d28b245-2034-456a-a99c-68a0499d3f76 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 41aff6d8-f390-430a-9d5f-43d94f6b56b4 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.87 | ubuntu20.04 | simple_requires-1-1-flv | | aec08826-4994-4d94-928b-e1f8e7f62789 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | BUILDING | INSTANTIATING (bd7b4bed-7710-41cb-947c-411bb07c4378) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | BUILDING | INSTANTIATING (bd7b4bed-7710-41cb-947c-411bb07c4378) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9d28b245-2034-456a-a99c-68a0499d3f76 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 41aff6d8-f390-430a-9d5f-43d94f6b56b4 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.87 | ubuntu20.04 | simple_requires-1-1-flv | | aec08826-4994-4d94-928b-e1f8e7f62789 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9d28b245-2034-456a-a99c-68a0499d3f76 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 41aff6d8-f390-430a-9d5f-43d94f6b56b4 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.87 | ubuntu20.04 | simple_requires-1-1-flv | | aec08826-4994-4d94-928b-e1f8e7f62789 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | 2024-04-11T01:16:03 | 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} = bff15610-bf07-474f-b8c2-8c0c5f9e3d95 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = bff15610-bf07-474f-b8c2-8c0c5f9e3d95 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep bff15610-bf07-474f-b8c2-8c0c5f9e3d95 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8822b527-5f5f-460e-8e08-b4dcce241d80 ${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} = [ 8822b527-5f5f-460e-8e08-b4dcce241d80 ] @{vnfr_list} = [ 8822b527-5f5f-460e-8e08-b4dcce241d80 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 8822b527-5f5f-460e-8e08-b4dcce241d80 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 8822b527-5f5f-460e-8e08-b4dcce241d80 basic_16 cluster_main daily regression @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 8822b527-5f5f-460e-8e08-b4dcce241d80 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 3 ${init_instances} != ${initial_vdur_count} Fail msg=Instantiated VDUs (${initial_vdur_count}) don't match specified number in descriptor (${init_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check the number of VDUs instances before the manual scaling. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 7e15c512-c986-409a-9d5b-95ca36e945de ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7e15c512-c986-409a-9d5b-95ca36e945de --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 7e15c512-c986-409a-9d5b-95ca36e945de ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7e15c512-c986-409a-9d5b-95ca36e945de --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 7e15c512-c986-409a-9d5b-95ca36e945de ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7e15c512-c986-409a-9d5b-95ca36e945de --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 7e15c512-c986-409a-9d5b-95ca36e945de --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 7e15c512-c986-409a-9d5b-95ca36e945de basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 8822b527-5f5f-460e-8e08-b4dcce241d80 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 basic_16-vnf-hackfest_basic_metrics-VM-3 basic_16-vnf-hackfest_basic_metrics-... ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 5 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 3: basic_16-vnf-hackfest_basic_metrics-VM-3 4: basic_16-vnf-hackfest_basic_metrics-VM-4 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 5 ${vdurs} = 5 ${vdurs} != ${initial_vdur_count} + ${delta_instances} Fail msg=VDU instances in the VNF (${vdurs}) don't match after Scale Out (${initial_vdur_count} + ${delta_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 3449df46-55b7-43f4-8df5-7ec9839cfe05 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3449df46-55b7-43f4-8df5-7ec9839cfe05 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3449df46-55b7-43f4-8df5-7ec9839cfe05 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3449df46-55b7-43f4-8df5-7ec9839cfe05 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3449df46-55b7-43f4-8df5-7ec9839cfe05 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 3449df46-55b7-43f4-8df5-7ec9839cfe05 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 8822b527-5f5f-460e-8e08-b4dcce241d80 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_16 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_16 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9d28b245-2034-456a-a99c-68a0499d3f76 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 41aff6d8-f390-430a-9d5f-43d94f6b56b4 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.87 | ubuntu20.04 | simple_requires-1-1-flv | | aec08826-4994-4d94-928b-e1f8e7f62789 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 0 ${stdout} = basic_16 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 == basic_16 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-16] Advanced onboarding with override and complex scaling (3 initial instances, scaled by two). '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz fbc61ce2-560d-492e-97bf-f14f1db5f539 ${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} = fbc61ce2-560d-492e-97bf-f14f1db5f539 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 2ed5761f-f1d8-45bc-8778-57966ec654ae ${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} = 2ed5761f-f1d8-45bc-8778-57966ec654ae 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 24914acd-a3e9-4c70-80d6-844272b9ed99 ${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} = 24914acd-a3e9-4c70-80d6-844272b9ed99 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 db8a1aa6-54fb-4cab-addd-e9d13f092370 ${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} = db8a1aa6-54fb-4cab-addd-e9d13f092370 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} = 58ca29ed-8067-43c7-b449-1117ab0f9f20 ${stdout} Logs the given message with the given level. 58ca29ed-8067-43c7-b449-1117ab0f9f20 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 58ca29ed-8067-43c7-b449-1117ab0f9f20 ${ns_id} Logs the given message with the given level. 58ca29ed-8067-43c7-b449-1117ab0f9f20 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.160; basic_18-datanet2=192.168.20.193; basic_18-datanet3=192.168.30.144; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.1; basic_18-datanet2=192.168.20.28; basic_18-datanet3=192.168.30.198; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | BUILDING | INSTANTIATING (cba5baeb-3a98-4f7d-acc1-45fc77187006) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.160; basic_18-datanet2=192.168.20.193; basic_18-datanet3=192.168.30.144; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.1; basic_18-datanet2=192.168.20.28; basic_18-datanet3=192.168.30.198; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_18 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.160; basic_18-datanet2=192.168.20.193; basic_18-datanet3=192.168.30.144; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.1; basic_18-datanet2=192.168.20.28; basic_18-datanet3=192.168.30.198; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_18 | 58ca29ed-8067-43c7-b449-1117ab0f9f20 | 2024-04-11T01:19:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 58ca29ed-8067-43c7-b449-1117ab0f9f20 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 58ca29ed-8067-43c7-b449-1117ab0f9f20 basic_18 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 58ca29ed-8067-43c7-b449-1117ab0f9f20 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 126b2da3-714c-44c6-803a-c603f383c761 e28faecd-b56d-4a9d-88c7-0e43b2d92c5f ${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} = [ 126b2da3-714c-44c6-803a-c603f383c761 | e28faecd-b56d-4a9d-88c7-0e43b2d92c5f ] @{vnfr_list} = [ 126b2da3-714c-44c6-803a-c603f383c761 | e28faecd-b56d-4a9d-88c7-0e43b2d92c5f ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 126b2da3-714c-44c6-803a-c603f383c761 1: e28faecd-b56d-4a9d-88c7-0e43b2d92c5f ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = 126b2da3-714c-44c6-803a-c603f383c761 ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = e28faecd-b56d-4a9d-88c7-0e43b2d92c5f ${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 58ca29ed-8067-43c7-b449-1117ab0f9f20 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.120 ${stdout} Logs the given message with the given level. 172.21.248.120 ${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.120 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.248.120 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.248.120 ${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 58ca29ed-8067-43c7-b449-1117ab0f9f20 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.197 ${stdout} Logs the given message with the given level. 172.21.248.197 ${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.197 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.248.197 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.248.197 basic_18 cluster_main daily regression ${vnf_id1} msg=VNF1 is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface1_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 126b2da3-714c-44c6-803a-c603f383c761 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.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'> ${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.1 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 126b2da3-714c-44c6-803a-c603f383c761 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.28 ${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.28 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 126b2da3-714c-44c6-803a-c603f383c761 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.198 ${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.198 basic_18 cluster_main daily regression ${vnf_id1} msg=VNF2 is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface1_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e28faecd-b56d-4a9d-88c7-0e43b2d92c5f --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.160 ${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.160 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e28faecd-b56d-4a9d-88c7-0e43b2d92c5f --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.193 ${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.193 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e28faecd-b56d-4a9d-88c7-0e43b2d92c5f --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.144 ${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.144 basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 10 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 10 seconds Wait for SSH daemon to be up ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.120:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:14 UTC 2024 System load: 0.2 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.120 Memory usage: 10% IPv4 address for ens4: 192.168.10.1 Swap usage: 0% IPv4 address for ens5: 192.168.20.28 Processes: 107 IPv4 address for ens6: 192.168.30.198 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.248.120/22 192.168.10.1/24 192.168.20.28/24 192.168.30.198/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.120/22 192.168.10.1/24 192.168.20.28/24 192.168.30.198/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.120/22 192.168.10.1/24 192.168.20.28/24 192.168.30.198/24 ${stdout} Logs the given message with the given level. 172.21.248.120/22 192.168.10.1/24 192.168.20.28/24 192.168.30.198/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.120/22 | 192.168.10.1/24 | 192.168.20.28/24 | 192.168.30.198/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.197:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:16 UTC 2024 System load: 0.63 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.197 Memory usage: 10% IPv4 address for ens4: 192.168.10.160 Swap usage: 0% IPv4 address for ens5: 192.168.20.193 Processes: 108 IPv4 address for ens6: 192.168.30.144 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.197/22 192.168.10.160/24 192.168.20.193/24 192.168.30.144/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.197/22 192.168.10.160/24 192.168.20.193/24 192.168.30.144/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.197/22 192.168.10.160/24 192.168.20.193/24 192.168.30.144/24 ${stdout} Logs the given message with the given level. 172.21.248.197/22 192.168.10.160/24 192.168.20.193/24 192.168.30.144/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.197/22 | 192.168.10.160/24 | 192.168.20.193/24 | 192.168.30.144/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.120:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:18 UTC 2024 System load: 0.18 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.120 Memory usage: 10% IPv4 address for ens4: 192.168.10.1 Swap usage: 0% IPv4 address for ens5: 192.168.20.28 Processes: 109 IPv4 address for ens6: 192.168.30.198 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:15 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.197'. 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:b8:44:78 brd ff:ff:ff:ff:ff:ff inet 172.21.248.120/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86316sec preferred_lft 86316sec inet6 fe80::f816:3eff:feb8:4478/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:4b:06:94 brd ff:ff:ff:ff:ff:ff inet 192.168.10.1/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:694/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:d3:4b:c1 brd ff:ff:ff:ff:ff:ff inet 192.168.20.28/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed3:4bc1/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:75:de:d8 brd ff:ff:ff:ff:ff:ff inet 192.168.30.198/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe75:ded8/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.197 (172.21.248.197) 56(84) bytes of data. 64 bytes from 172.21.248.197: icmp_seq=1 ttl=64 time=1.93 ms 64 bytes from 172.21.248.197: icmp_seq=2 ttl=64 time=0.616 ms 64 bytes from 172.21.248.197: icmp_seq=3 ttl=64 time=0.684 ms 64 bytes from 172.21.248.197: icmp_seq=4 ttl=64 time=0.564 ms 64 bytes from 172.21.248.197: icmp_seq=5 ttl=64 time=0.755 ms --- 172.21.248.197 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4072ms rtt min/avg/max/mdev = 0.564/0.909/1.930/0.514 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:b8:44:78 brd ff:ff:ff:ff:ff:ff inet 172.21.248.120/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86316sec preferred_lft 86316sec inet6 fe80::f816:3eff:feb8:4478/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:4b:06:94 brd ff:ff:ff:ff:ff:ff inet 192.168.10.1/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:694/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:d3:4b:c1 brd ff:ff:ff:ff:ff:ff inet 192.168.20.28/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed3:4bc1/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:75:de:d8 brd ff:ff:ff:ff:ff:ff inet 192.168.30.198/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe75:ded8/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.197 (172.21.248.197) 56(84) bytes of data. 64 bytes from 172.21.248.197: icmp_seq=1 ttl=64 time=1.93 ms 64 bytes from 172.21.248.197: icmp_seq=2 ttl=64 time=0.616 ms 64 bytes from 172.21.248.197: icmp_seq=3 ttl=64 time=0.684 ms 64 bytes from 172.21.248.197: icmp_seq=4 ttl=64 time=0.564 ms 64 bytes from 172.21.248.197: icmp_seq=5 ttl=64 time=0.755 ms --- 172.21.248.197 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4072ms rtt min/avg/max/mdev = 0.564/0.909/1.930/0.514 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.120:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:24 UTC 2024 System load: 0.17 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.120 Memory usage: 10% IPv4 address for ens4: 192.168.10.1 Swap usage: 0% IPv4 address for ens5: 192.168.20.28 Processes: 109 IPv4 address for ens6: 192.168.30.198 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:19 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.160'. Command exited with return code 0. ${stdout} = PING 192.168.10.160 (192.168.10.160) 56(84) bytes of data. 64 bytes from 192.168.10.160: icmp_seq=1 ttl=64 time=2.36 ms 64 bytes from 192.168.10.160: icmp_seq=2 ttl=64 time=1.06 ms 64 bytes from 192.1... ${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.160 (192.168.10.160) 56(84) bytes of data. 64 bytes from 192.168.10.160: icmp_seq=1 ttl=64 time=2.36 ms 64 bytes from 192.168.10.160: icmp_seq=2 ttl=64 time=1.06 ms 64 bytes from 192.168.10.160: icmp_seq=3 ttl=64 time=0.571 ms 64 bytes from 192.168.10.160: icmp_seq=4 ttl=64 time=0.823 ms 64 bytes from 192.168.10.160: icmp_seq=5 ttl=64 time=0.682 ms --- 192.168.10.160 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4013ms rtt min/avg/max/mdev = 0.571/1.098/2.355/0.649 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.160 (192.168.10.160) 56(84) bytes of data. 64 bytes from 192.168.10.160: icmp_seq=1 ttl=64 time=2.36 ms 64 bytes from 192.168.10.160: icmp_seq=2 ttl=64 time=1.06 ms 64 bytes from 192.1... ${stdout} Logs the given message with the given level. PING 192.168.10.160 (192.168.10.160) 56(84) bytes of data. 64 bytes from 192.168.10.160: icmp_seq=1 ttl=64 time=2.36 ms 64 bytes from 192.168.10.160: icmp_seq=2 ttl=64 time=1.06 ms 64 bytes from 192.168.10.160: icmp_seq=3 ttl=64 time=0.571 ms 64 bytes from 192.168.10.160: icmp_seq=4 ttl=64 time=0.823 ms 64 bytes from 192.168.10.160: icmp_seq=5 ttl=64 time=0.682 ms --- 192.168.10.160 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4013ms rtt min/avg/max/mdev = 0.571/1.098/2.355/0.649 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.120:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:30 UTC 2024 System load: 0.15 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.120 Memory usage: 10% IPv4 address for ens4: 192.168.10.1 Swap usage: 0% IPv4 address for ens5: 192.168.20.28 Processes: 109 IPv4 address for ens6: 192.168.30.198 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:24 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.20.193'. Command exited with return code 0. ${stdout} = PING 192.168.20.193 (192.168.20.193) 56(84) bytes of data. 64 bytes from 192.168.20.193: icmp_seq=1 ttl=64 time=2.68 ms 64 bytes from 192.168.20.193: icmp_seq=2 ttl=64 time=0.699 ms 64 bytes from 192.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.20.193 (192.168.20.193) 56(84) bytes of data. 64 bytes from 192.168.20.193: icmp_seq=1 ttl=64 time=2.68 ms 64 bytes from 192.168.20.193: icmp_seq=2 ttl=64 time=0.699 ms 64 bytes from 192.168.20.193: icmp_seq=3 ttl=64 time=0.857 ms 64 bytes from 192.168.20.193: icmp_seq=4 ttl=64 time=0.811 ms 64 bytes from 192.168.20.193: icmp_seq=5 ttl=64 time=0.941 ms --- 192.168.20.193 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4012ms rtt min/avg/max/mdev = 0.699/1.196/2.676/0.743 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.193 (192.168.20.193) 56(84) bytes of data. 64 bytes from 192.168.20.193: icmp_seq=1 ttl=64 time=2.68 ms 64 bytes from 192.168.20.193: icmp_seq=2 ttl=64 time=0.699 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.20.193 (192.168.20.193) 56(84) bytes of data. 64 bytes from 192.168.20.193: icmp_seq=1 ttl=64 time=2.68 ms 64 bytes from 192.168.20.193: icmp_seq=2 ttl=64 time=0.699 ms 64 bytes from 192.168.20.193: icmp_seq=3 ttl=64 time=0.857 ms 64 bytes from 192.168.20.193: icmp_seq=4 ttl=64 time=0.811 ms 64 bytes from 192.168.20.193: icmp_seq=5 ttl=64 time=0.941 ms --- 192.168.20.193 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4012ms rtt min/avg/max/mdev = 0.699/1.196/2.676/0.743 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.120:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:36 UTC 2024 System load: 0.14 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.120 Memory usage: 10% IPv4 address for ens4: 192.168.10.1 Swap usage: 0% IPv4 address for ens5: 192.168.20.28 Processes: 109 IPv4 address for ens6: 192.168.30.198 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:30 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.30.144'. Command exited with return code 0. ${stdout} = PING 192.168.30.144 (192.168.30.144) 56(84) bytes of data. 64 bytes from 192.168.30.144: icmp_seq=1 ttl=64 time=2.67 ms 64 bytes from 192.168.30.144: icmp_seq=2 ttl=64 time=0.833 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.144 (192.168.30.144) 56(84) bytes of data. 64 bytes from 192.168.30.144: icmp_seq=1 ttl=64 time=2.67 ms 64 bytes from 192.168.30.144: icmp_seq=2 ttl=64 time=0.833 ms 64 bytes from 192.168.30.144: icmp_seq=3 ttl=64 time=0.676 ms 64 bytes from 192.168.30.144: icmp_seq=4 ttl=64 time=3.93 ms 64 bytes from 192.168.30.144: icmp_seq=5 ttl=64 time=0.547 ms --- 192.168.30.144 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4032ms rtt min/avg/max/mdev = 0.547/1.730/3.925/1.342 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.144 (192.168.30.144) 56(84) bytes of data. 64 bytes from 192.168.30.144: icmp_seq=1 ttl=64 time=2.67 ms 64 bytes from 192.168.30.144: icmp_seq=2 ttl=64 time=0.833 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.30.144 (192.168.30.144) 56(84) bytes of data. 64 bytes from 192.168.30.144: icmp_seq=1 ttl=64 time=2.67 ms 64 bytes from 192.168.30.144: icmp_seq=2 ttl=64 time=0.833 ms 64 bytes from 192.168.30.144: icmp_seq=3 ttl=64 time=0.676 ms 64 bytes from 192.168.30.144: icmp_seq=4 ttl=64 time=3.93 ms 64 bytes from 192.168.30.144: icmp_seq=5 ttl=64 time=0.547 ms --- 192.168.30.144 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4032ms rtt min/avg/max/mdev = 0.547/1.730/3.925/1.342 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.197:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:41 UTC 2024 System load: 0.42 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.197 Memory usage: 10% IPv4 address for ens4: 192.168.10.160 Swap usage: 0% IPv4 address for ens5: 192.168.20.193 Processes: 108 IPv4 address for ens6: 192.168.30.144 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:17 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.248.120'. 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.120 (172.21.248.120) 56(84) bytes of data. 64 bytes from 172.21.248.120: icmp_seq=1 ttl=64 time=1.34 ms 64 bytes from 172.21.248.120: icmp_seq=2 ttl=64 time=0.758 ms 64 bytes from 172.21.248.120: icmp_seq=3 ttl=64 time=0.407 ms 64 bytes from 172.21.248.120: icmp_seq=4 ttl=64 time=0.709 ms 64 bytes from 172.21.248.120: icmp_seq=5 ttl=64 time=0.699 ms --- 172.21.248.120 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4059ms rtt min/avg/max/mdev = 0.407/0.783/1.342/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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.120 (172.21.248.120) 56(84) bytes of data. 64 bytes from 172.21.248.120: icmp_seq=1 ttl=64 time=1.34 ms 64 bytes from 172.21.248.120: icmp_seq=2 ttl=64 time=0.758 ms 64 bytes from 172.21.248.120: icmp_seq=3 ttl=64 time=0.407 ms 64 bytes from 172.21.248.120: icmp_seq=4 ttl=64 time=0.709 ms 64 bytes from 172.21.248.120: icmp_seq=5 ttl=64 time=0.699 ms --- 172.21.248.120 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4059ms rtt min/avg/max/mdev = 0.407/0.783/1.342/0.305 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.197:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:47 UTC 2024 System load: 0.38 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.197 Memory usage: 10% IPv4 address for ens4: 192.168.10.160 Swap usage: 0% IPv4 address for ens5: 192.168.20.193 Processes: 109 IPv4 address for ens6: 192.168.30.144 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:42 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.1'. 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. 64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=1.56 ms 64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.682 ms 64 bytes from 192.168.10.1: icmp_seq=3 ttl=64 time=0.855 ms 64 bytes from 192.168.10.1: icmp_seq=4 ttl=64 time=0.791 ms 64 bytes from 192.168.10.1: icmp_seq=5 ttl=64 time=0.580 ms --- 192.168.10.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4018ms rtt min/avg/max/mdev = 0.580/0.893/1.561/0.346 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. 64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=1.56 ms 64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.682 ms 64 bytes from 192.168.10.1: icmp_seq=3 ttl=64 time=0.855 ms 64 bytes from 192.168.10.1: icmp_seq=4 ttl=64 time=0.791 ms 64 bytes from 192.168.10.1: icmp_seq=5 ttl=64 time=0.580 ms --- 192.168.10.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4018ms rtt min/avg/max/mdev = 0.580/0.893/1.561/0.346 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.197:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:53 UTC 2024 System load: 0.35 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.197 Memory usage: 10% IPv4 address for ens4: 192.168.10.160 Swap usage: 0% IPv4 address for ens5: 192.168.20.193 Processes: 109 IPv4 address for ens6: 192.168.30.144 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:48 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.28'. 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86289sec preferred_lft 86289sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.28 (192.168.20.28) 56(84) bytes of data. 64 bytes from 192.168.20.28: icmp_seq=1 ttl=64 time=1.65 ms 64 bytes from 192.168.20.28: icmp_seq=2 ttl=64 time=0.706 ms 64 bytes from 192.168.20.28: icmp_seq=3 ttl=64 time=1.17 ms 64 bytes from 192.168.20.28: icmp_seq=4 ttl=64 time=0.844 ms 64 bytes from 192.168.20.28: icmp_seq=5 ttl=64 time=0.794 ms --- 192.168.20.28 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4021ms rtt min/avg/max/mdev = 0.706/1.033/1.647/0.345 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86289sec preferred_lft 86289sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.28 (192.168.20.28) 56(84) bytes of data. 64 bytes from 192.168.20.28: icmp_seq=1 ttl=64 time=1.65 ms 64 bytes from 192.168.20.28: icmp_seq=2 ttl=64 time=0.706 ms 64 bytes from 192.168.20.28: icmp_seq=3 ttl=64 time=1.17 ms 64 bytes from 192.168.20.28: icmp_seq=4 ttl=64 time=0.844 ms 64 bytes from 192.168.20.28: icmp_seq=5 ttl=64 time=0.794 ms --- 192.168.20.28 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4021ms rtt min/avg/max/mdev = 0.706/1.033/1.647/0.345 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.197:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:21:59 UTC 2024 System load: 0.32 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.197 Memory usage: 10% IPv4 address for ens4: 192.168.10.160 Swap usage: 0% IPv4 address for ens5: 192.168.20.193 Processes: 106 IPv4 address for ens6: 192.168.30.144 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:21:53 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.30.198'. 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86283sec preferred_lft 86283sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.198 (192.168.30.198) 56(84) bytes of data. 64 bytes from 192.168.30.198: icmp_seq=1 ttl=64 time=1.69 ms 64 bytes from 192.168.30.198: icmp_seq=2 ttl=64 time=0.746 ms 64 bytes from 192.168.30.198: icmp_seq=3 ttl=64 time=0.808 ms 64 bytes from 192.168.30.198: icmp_seq=4 ttl=64 time=0.843 ms 64 bytes from 192.168.30.198: icmp_seq=5 ttl=64 time=2.17 ms --- 192.168.30.198 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4018ms rtt min/avg/max/mdev = 0.746/1.252/2.173/0.576 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:fb:a0:d9 brd ff:ff:ff:ff:ff:ff inet 172.21.248.197/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86283sec preferred_lft 86283sec inet6 fe80::f816:3eff:fefb:a0d9/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:e4:43:6a brd ff:ff:ff:ff:ff:ff inet 192.168.10.160/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee4:436a/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:8e:90:06 brd ff:ff:ff:ff:ff:ff inet 192.168.20.193/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8e:9006/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:4b:08:ad brd ff:ff:ff:ff:ff:ff inet 192.168.30.144/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe4b:8ad/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.198 (192.168.30.198) 56(84) bytes of data. 64 bytes from 192.168.30.198: icmp_seq=1 ttl=64 time=1.69 ms 64 bytes from 192.168.30.198: icmp_seq=2 ttl=64 time=0.746 ms 64 bytes from 192.168.30.198: icmp_seq=3 ttl=64 time=0.808 ms 64 bytes from 192.168.30.198: icmp_seq=4 ttl=64 time=0.843 ms 64 bytes from 192.168.30.198: icmp_seq=5 ttl=64 time=2.17 ms --- 192.168.30.198 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4018ms rtt min/avg/max/mdev = 0.746/1.252/2.173/0.576 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 4cfbcab4-f9d3-49b6-aa62-7f45948a4c70 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.132; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.13; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.160; basic_18-datanet2=192.168.20.193; basic_18-datanet3=192.168.30.144; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.1; basic_18-datanet2=192.168.20.28; basic_18-datanet3=192.168.30.198; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cfbcab4-f9d3-49b6-aa62-7f45948a4c70 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.132; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.13; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 057e5cac-96fb-45ea-b0f0-d39a83e192b9 | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu20.04 | | | 5072d197-ce4c-4089-b2ec-f2d816f4794e | basic_18-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cfbcab4-f9d3-49b6-aa62-7f45948a4c70 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.132; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.13; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ubuntu_4ifaces-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ubuntu_4ifaces-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ubuntu_4ifaces-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ubuntu_4ifaces-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-18] NS with a VLD with a virtual link profile. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/ipprofile_2vm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ipprofile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_vnf Package created: /robot-systest/osm-packages/ippro... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ipprofile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_vnf Package created: /robot-systest/osm-packages/ipprofile_2vm_vnf.tar.gz Uploading package /robot-systest/osm-packages/ipprofile_2vm_vnf.tar.gz ad48d8d2-7e0c-4db2-8a4d-6d5c3b2d9bcf ${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} = ad48d8d2-7e0c-4db2-8a4d-6d5c3b2d9bcf 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 90c44939-3d08-4b78-b5c8-44e1457e6e49 ${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} = 90c44939-3d08-4b78-b5c8-44e1457e6e49 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} = 515a9962-9638-4ad4-bc9d-7f84023191cf ${stdout} Logs the given message with the given level. 515a9962-9638-4ad4-bc9d-7f84023191cf ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 515a9962-9638-4ad4-bc9d-7f84023191cf ${ns_id} Logs the given message with the given level. 515a9962-9638-4ad4-bc9d-7f84023191cf ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cfbcab4-f9d3-49b6-aa62-7f45948a4c70 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.132; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.13; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | BUILDING | INSTANTIATING (8cb204a0-98d1-40f7-a15a-34afd270b63a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | BUILDING | INSTANTIATING (8cb204a0-98d1-40f7-a15a-34afd270b63a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4b777279-cd9f-4b2c-b067-8bdd94ea0946 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.86 | ubuntu20.04 | simple_requires-1-1-flv | | b5e9b1b9-9484-4175-af36-dce84d28439e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.202; osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | 4cfbcab4-f9d3-49b6-aa62-7f45948a4c70 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.132; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 095161dc-1211-4bab-ab1f-124ff207bba6 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.61.13; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | BUILDING | INSTANTIATING (8cb204a0-98d1-40f7-a15a-34afd270b63a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | BUILDING | INSTANTIATING (8cb204a0-98d1-40f7-a15a-34afd270b63a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 4b777279-cd9f-4b2c-b067-8bdd94ea0946 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.86 | ubuntu20.04 | simple_requires-1-1-flv | | b5e9b1b9-9484-4175-af36-dce84d28439e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.202; osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_19 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 4b777279-cd9f-4b2c-b067-8bdd94ea0946 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.86 | ubuntu20.04 | simple_requires-1-1-flv | | b5e9b1b9-9484-4175-af36-dce84d28439e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.202; osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_19 | 515a9962-9638-4ad4-bc9d-7f84023191cf | 2024-04-11T01:22:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 515a9962-9638-4ad4-bc9d-7f84023191cf ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 515a9962-9638-4ad4-bc9d-7f84023191cf basic_19 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 515a9962-9638-4ad4-bc9d-7f84023191cf | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = eea59b2b-1239-44b4-8d9c-c6d60d45e56d ${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} = [ eea59b2b-1239-44b4-8d9c-c6d60d45e56d ] @{vnfr_list} = [ eea59b2b-1239-44b4-8d9c-c6d60d45e56d ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: eea59b2b-1239-44b4-8d9c-c6d60d45e56d ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = eea59b2b-1239-44b4-8d9c-c6d60d45e56d ${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 515a9962-9638-4ad4-bc9d-7f84023191cf | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.75 ${stdout} Logs the given message with the given level. 172.21.248.75 ${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.75 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.248.75 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.248.75 basic_19 cluster_main daily regression ${vnf_id} msg=VNF is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show eea59b2b-1239-44b4-8d9c-c6d60d45e56d --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.202 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show eea59b2b-1239-44b4-8d9c-c6d60d45e56d --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.86 ${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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 4b777279-cd9f-4b2c-b067-8bdd94ea0946 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.86 | ubuntu20.04 | simple_requires-1-1-flv | | b5e9b1b9-9484-4175-af36-dce84d28439e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.202; osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 0 ${stdout} = basic_19 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 == basic_19 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ipprofile_2vm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ipprofile_2vm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ipprofile_2vm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ipprofile_2vm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-19] NS with a single VNF and two VDU linked by a VLD with ip-profile. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz c86f0005-a86c-4c18-bdfe-e6443b36adee ${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} = c86f0005-a86c-4c18-bdfe-e6443b36adee 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 ea83f341-61df-43d6-ad25-8046825beef5 ${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} = ea83f341-61df-43d6-ad25-8046825beef5 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} = a576ccb5-e683-49ec-8bac-53570d252f57 ${stdout} Logs the given message with the given level. a576ccb5-e683-49ec-8bac-53570d252f57 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a576ccb5-e683-49ec-8bac-53570d252f57 ${ns_id} Logs the given message with the given level. a576ccb5-e683-49ec-8bac-53570d252f57 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24:48 | BUILDING | INSTANTIATING (be81352b-3e86-4bca-beeb-f08324f8c59c) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24: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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 8ebd4b5a-8b8a-43e1-b5d0-4c7bc9470911 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.114; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | d371d6df-53b9-4c45-874a-591651f0da9a | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.60.147; osm-ext=172.21.249.18 | ubuntu18.04 | simple_requires-1-1-flv | | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_20_manual_vdu_scaling_test | a576ccb5-e683-49ec-8bac-53570d252f57 | 2024-04-11T01:24: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} = a576ccb5-e683-49ec-8bac-53570d252f57 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a576ccb5-e683-49ec-8bac-53570d252f57 basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep a576ccb5-e683-49ec-8bac-53570d252f57 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = efd0c732-8d00-4f74-8b68-59b848bd6fa5 ${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} = [ efd0c732-8d00-4f74-8b68-59b848bd6fa5 ] @{vnfr_list} = [ efd0c732-8d00-4f74-8b68-59b848bd6fa5 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: efd0c732-8d00-4f74-8b68-59b848bd6fa5 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = efd0c732-8d00-4f74-8b68-59b848bd6fa5 basic_20 cluster_main daily regression @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show efd0c732-8d00-4f74-8b68-59b848bd6fa5 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 Get the number of VDU records before the manual scaling. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ] @{name_list} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz 1: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz', 'app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl'] 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} = 9227cc01-b740-4ede-9291-73c70654d34d ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9227cc01-b740-4ede-9291-73c70654d34d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9227cc01-b740-4ede-9291-73c70654d34d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 9227cc01-b740-4ede-9291-73c70654d34d basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show efd0c732-8d00-4f74-8b68-59b848bd6fa5 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 basic_20_manual_-vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 | basic_20_manual_-vnf-mgmtVM-2 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 | basic_20_manual_-vnf-mgmtVM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 2: basic_20_manual_-vnf-mgmtVM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-sch7l ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-sch7l ] @{name_list} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-sch7l ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz 1: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl 2: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-sch7l ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz', 'app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl', 'app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-sch7l'] 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} = 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 9ce51f27-52b8-4449-a9cc-7a9f1efaf55e basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show efd0c732-8d00-4f74-8b68-59b848bd6fa5 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ] @{name_list} = [ app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz | app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz 1: app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-bjzcz', 'app-vnf-b848bd6fa5-z0-vdu-mgmtvm-cnt-z0-e9qdl'] 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} = +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_vdu_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20_manual_vdu_scaling_test == basic_20_manual_vdu_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | aec2eed4-2b97-4372-baa6-f8115709455c | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.200.196; osm-ext=172.21.249.151 | ubuntu18.04 | simple_requires-1-1-flv | | a89a3333-1518-4bd9-97dd-4cf9b24c5d0a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.200.6; osm-ext=172.21.249.8 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_vdu_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20_manual_vdu_scaling_test == basic_20_manual_vdu_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 96413b35-dca6-42fc-80c4-6f6ddd2f49bf | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.136 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_vdu_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20_manual_vdu_scaling_test == basic_20_manual_vdu_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 96413b35-dca6-42fc-80c4-6f6ddd2f49bf | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.136 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_manual_scale_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_manual_scale_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-20] Manual VDU Scaling to test juju applications are scaling for native charms (testing Bug-1609). '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/several_volumes_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/s... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/several_volumes_vnf.tar.gz Uploading package /robot-systest/osm-packages/several_volumes_vnf.tar.gz 60a1cd1a-9f17-4b4b-90ee-af6cd5000bce ${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} = 60a1cd1a-9f17-4b4b-90ee-af6cd5000bce 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 25381e06-cbe3-44b2-b82c-118dd3ae224f ${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} = 25381e06-cbe3-44b2-b82c-118dd3ae224f 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} = c417fec4-3d81-49bd-989d-f16c63cb66a8 ${stdout} Logs the given message with the given level. c417fec4-3d81-49bd-989d-f16c63cb66a8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c417fec4-3d81-49bd-989d-f16c63cb66a8 ${ns_id} Logs the given message with the given level. c417fec4-3d81-49bd-989d-f16c63cb66a8 ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 96413b35-dca6-42fc-80c4-6f6ddd2f49bf | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.136 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34:08 | BUILDING | INSTANTIATING (11f1fc00-4cda-4ce6-b95c-f2a37af01d8d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34:08 | BUILDING | INSTANTIATING (11f1fc00-4cda-4ce6-b95c-f2a37af01d8d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 0bdbc4e8-e5c2-40b5-b347-95f120ba5656 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu20.04 | several_volumes-VM-flv | | 96413b35-dca6-42fc-80c4-6f6ddd2f49bf | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.136 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34:08 | BUILDING | INSTANTIATING (11f1fc00-4cda-4ce6-b95c-f2a37af01d8d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34:08 | BUILDING | INSTANTIATING (11f1fc00-4cda-4ce6-b95c-f2a37af01d8d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 0bdbc4e8-e5c2-40b5-b347-95f120ba5656 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_21 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34: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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 0bdbc4e8-e5c2-40b5-b347-95f120ba5656 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_21 | c417fec4-3d81-49bd-989d-f16c63cb66a8 | 2024-04-11T01:34: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} = c417fec4-3d81-49bd-989d-f16c63cb66a8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c417fec4-3d81-49bd-989d-f16c63cb66a8 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 c417fec4-3d81-49bd-989d-f16c63cb66a8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.105 ${stdout} Logs the given message with the given level. 172.21.248.105 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.248.105 ${ip_addr} Logs the given message with the given level. 172.21.248.105 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.105 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.105:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:35:53 UTC 2024 System load: 0.25 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.105 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 0bdbc4e8-e5c2-40b5-b347-95f120ba5656 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 0 ${stdout} = basic_21 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 == basic_21 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete several_volumes-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep several_volumes-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-21] NS with only one VDU and several volumes '%{PACKAGES_FOLDER}/${vnfd_pkg_1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/cmr_relation_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'sshproxy.charm', 'simple-requires.charm'} Adding File: cmr_relation_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'sshproxy.charm', 'simple-requires.charm'} Adding File: cmr_relation_vnf Package created: /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz f58a0aff-bc2e-4768-8abb-36738ed86ef5 ${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} = f58a0aff-bc2e-4768-8abb-36738ed86ef5 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: {'sshproxy.charm', 'simple-requires.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: {'sshproxy.charm', 'simple-requires.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 5d51d64b-24b8-48da-b96c-19cc4896bfdf ${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} = 5d51d64b-24b8-48da-b96c-19cc4896bfdf 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 6cec30b6-dd12-4961-a5d5-88aa53f3e546 ${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} = 6cec30b6-dd12-4961-a5d5-88aa53f3e546 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} = 701cd618-b40c-4515-a4a5-340b7604509e ${stdout} Logs the given message with the given level. 701cd618-b40c-4515-a4a5-340b7604509e ${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 | 701cd618-b40c-4515-a4a5-340b7604509e | 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 | 701cd618-b40c-4515-a4a5-340b7604509e | 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 | "701cd618-b40c-4515-a4a5-340b7604509e" | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712799390.5941331, | | | "modified": 1712799395.8598, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712799390.5941634, | | | "statusEnteredTime": 1712799390.5941634, | | | "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": "701cd618-b40c-4515-a4a5-340b7604509e", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "701cd618-b40c-4515-a4a5-340b7604509e", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "701cd618-b40c-4515-a4a5-340b7604509e", | | | "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 | 701cd618-b40c-4515-a4a5-340b7604509e | 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 | 701cd618-b40c-4515-a4a5-340b7604509e | 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} = 6b02612f-74c3-415f-af99-105cfd3fec24 ${stdout} Logs the given message with the given level. 6b02612f-74c3-415f-af99-105cfd3fec24 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 6b02612f-74c3-415f-af99-105cfd3fec24 ${ns_id} Logs the given message with the given level. 6b02612f-74c3-415f-af99-105cfd3fec24 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 51b0a88d-7eb4-446b-a500-cb0313e5a39a | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.212.95; basic_08_disable-internal=192.168.203.32 | ubuntu20.04 | simple_requires-1-1-flv | | 29282551-6035-4da9-86f9-da18b6016396 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.203.69; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | 6eeacce8-d547-4fb4-a1eb-bdce7807c8b8 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.212.168; basic_08_disable-internal=192.168.46.225 | ubuntu20.04 | simple_requires-1-1-flv | | 0690e8ae-f483-4582-8446-4a3fd488c5a7 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.46.6; osm-ext=172.21.249.122 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 51b0a88d-7eb4-446b-a500-cb0313e5a39a | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.203.32 | ubuntu20.04 | simple_requires-1-1-flv | | 29282551-6035-4da9-86f9-da18b6016396 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.203.69; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | 6eeacce8-d547-4fb4-a1eb-bdce7807c8b8 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 49950036-d249-4ab9-99d5-035d0142933a | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 49950036-d249-4ab9-99d5-035d0142933a | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 96dc2e7f-4b5a-4bfa-bdfe-ae83405ab068 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.163 | ubuntu20.04 | simple_requires-1-1-flv | | 49950036-d249-4ab9-99d5-035d0142933a | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 49950036-d249-4ab9-99d5-035d0142933a | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37:07 | BUILDING | INSTANTIATING (81f5dff7-9c7d-481a-8c05-6747bafb4b40) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37: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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_22 | 6b02612f-74c3-415f-af99-105cfd3fec24 | 2024-04-11T01:37: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} = 6b02612f-74c3-415f-af99-105cfd3fec24 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 6b02612f-74c3-415f-af99-105cfd3fec24 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} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | c4c868b9-02e2-4c64-bc75-46e0018644d3 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu18.04 | simple_requires-1-1-flv | | 0671461a-fe23-48b2-a916-13aa93b778e1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 4768c052-2f3c-403c-a45c-618b0fc33bda | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 2ed63250-2c47-4474-9027-c87c9c97e99a | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.98 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | e98fad4e-ab48-4b0a-bcc2-399784763261 | basic_16-vnf-hackfest_basic_metrics-VM-4 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 34a5ec63-4455-4b02-b319-3a170e65af0b | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.29 | ubuntu20.04 | simple_requires-1-1-flv | | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | bd6f596b-9292-4a24-936c-97d10c9c7909 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5191833d-f505-43e4-a72f-666d69d97ecc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.7 | ubuntu18.04 | simple_requires-1-1-flv | | 7c8bc693-2056-4407-879b-88192c44132d | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.202 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | e98fad4e-ab48-4b0a-bcc2-399784763261 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.233 | ubuntu20.04 | simple_requires-1-1-flv | | 34a5ec63-4455-4b02-b319-3a170e65af0b | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.29 | ubuntu20.04 | simple_requires-1-1-flv | | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | c0c1a01c-bd9a-4ada-b497-1ad457ed4037 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 33770eaf-c009-4d9e-b3f0-676bf7dacc6c | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.117 | ubuntu20.04 | simple_requires-1-1-flv | | 491f8898-a371-4554-8ee7-5c38dec7aecf | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.130; osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.144.45; osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | 61187e86-2857-45c4-a209-afad9ae4b019 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.160 | ubuntu18.04 | simple_requires-1-1-flv | | d725a984-007b-4ec7-b89b-c5108e1e0a28 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.237 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = k8sbasic_22 ${stdout} Verifies that the given item is empty. Length is 11 'k8sbasic_22' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 basic_22 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete cross_model_relation-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep cross_model_relation-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name_1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cross_model_relation-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cross_model_relation-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name_2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cross_model_no_relation-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cross_model_no_relation-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD 1 ${vnfd_name_1} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD 2 ${vnfd_name_2} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-22] Cross-model relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/sol004_hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/sol004_hackfest_basic_vnf Validation OK List of charms in the descriptor: set() SOL004 Package created: /robot-systest/sol004_hackfest_basic_vnf.zip Uplo... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/sol004_hackfest_basic_vnf Validation OK List of charms in the descriptor: set() SOL004 Package created: /robot-systest/sol004_hackfest_basic_vnf.zip Uploading package /robot-systest/sol004_hackfest_basic_vnf.zip 59652876-048c-4b38-a1b0-68429769ce54 ${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} = 59652876-048c-4b38-a1b0-68429769ce54 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 d0e0f4... ${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 d0e0f4e5-ae13-4233-b6a9-58583405f1a8 ${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} = d0e0f4e5-ae13-4233-b6a9-58583405f1a8 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 c330b1a2-c701-48dc-8d3e-05129bd09c2e ${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} = c330b1a2-c701-48dc-8d3e-05129bd09c2e 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 0eef6657-8688-48db-8144-fa937912dcf0 ${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} = 0eef6657-8688-48db-8144-fa937912dcf0 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} = 3c091d58-6cff-4ba7-9ba5-ad1a8869857d ${stdout} Logs the given message with the given level. 3c091d58-6cff-4ba7-9ba5-ad1a8869857d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3c091d58-6cff-4ba7-9ba5-ad1a8869857d ${ns_id} Logs the given message with the given level. 3c091d58-6cff-4ba7-9ba5-ad1a8869857d ${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 | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45:06 | BUILDING | INSTANTIATING (c9035956-3292-4ef4-b3b7-3c79756fd98b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45:06 | BUILDING | INSTANTIATING (c9035956-3292-4ef4-b3b7-3c79756fd98b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | a6b6f242-527e-46bf-a88a-55d91d6e4b77 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.90 | ubuntu20.04 | simple_requires-1-1-flv | | b171e835-bbbd-46cf-a782-25fecd91e4fd | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.102 | ubuntu20.04 | simple_requires-1-1-flv | | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45:06 | BUILDING | INSTANTIATING (c9035956-3292-4ef4-b3b7-3c79756fd98b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45:06 | BUILDING | INSTANTIATING (c9035956-3292-4ef4-b3b7-3c79756fd98b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | a6b6f242-527e-46bf-a88a-55d91d6e4b77 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.90 | ubuntu20.04 | simple_requires-1-1-flv | | b171e835-bbbd-46cf-a782-25fecd91e4fd | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.102 | ubuntu20.04 | simple_requires-1-1-flv | | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_24 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45: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 | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | a6b6f242-527e-46bf-a88a-55d91d6e4b77 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.90 | ubuntu20.04 | simple_requires-1-1-flv | | b171e835-bbbd-46cf-a782-25fecd91e4fd | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.102 | ubuntu20.04 | simple_requires-1-1-flv | | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_24 | 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | 2024-04-11T01:45: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} = 3c091d58-6cff-4ba7-9ba5-ad1a8869857d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 3c091d58-6cff-4ba7-9ba5-ad1a8869857d 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 3c091d58-6cff-4ba7-9ba5-ad1a8869857d | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = fdaad518-a491-40e4-a178-bf52a39028d0 ${stdout} Logs the given message with the given level. fdaad518-a491-40e4-a178-bf52a39028d0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = fdaad518-a491-40e4-a178-bf52a39028d0 @{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 fdaad518-a491-40e4-a178-bf52a39028d0 --literal | yq '.vdur[].id' 2>&1'. ${rc} = 0 ${stdout} = "c5f02fee-521f-4bd4-aa2c-2189ec81b636" "37747bca-6f57-4dac-a90d-ff02f9384158" ${stdout} Logs the given message with the given level. "c5f02fee-521f-4bd4-aa2c-2189ec81b636" "37747bca-6f57-4dac-a90d-ff02f9384158" ${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} = [ "c5f02fee-521f-4bd4-aa2c-2189ec81b636" | "37747bca-6f57-4dac-a90d-ff02f9384158" ] @{vdur_id_list} = [ "c5f02fee-521f-4bd4-aa2c-2189ec81b636" | "37747bca-6f57-4dac-a90d-ff02f9384158" ] ${vdur_id} @{vdur_id_list} "c5f02fee-521f-4bd4-aa2c-2189ec81b636" ${server_group_name} ${ns_name} ${vnf_id} ${vdur_id} Return the affinity group name for a NF ${rc} ${affinity_group_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fdaad518-a491-40e4-a178-bf52a39028d0 --literal | yq '.vdur[] | select(.id == "'"c5f02fee-521f-4bd4-aa2c-2189ec81b636"'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_id} = 0 ${affinity_group_id} Logs the given message with the given level. 0 ${rc} ${success_return_code} msg=${affinity_group_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${affinity_group_name} osm ns-show ${ns_name} --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'${affinity_group_id}'")' | yq '.name' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_24 --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'0'")' | yq '.name' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${affinity_group_name} Logs the given message with the given level. basic_24-affinity-basic-1-affinity-group-1 ${rc} ${success_return_code} msg=${affinity_group_name} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${server_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${vm_vim_id} ${vnf_id} ${vdur_id} Return the VIM VM ID for a VDU ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${vm_vim_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."vim-id"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fdaad518-a491-40e4-a178-bf52a39028d0 --literal | yq '.vdur[] | select(.id == "'"c5f02fee-521f-4bd4-aa2c-2189ec81b636"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = b171e835-bbbd-46cf-a782-25fecd91e4fd ${vm_vim_id} Logs the given message with the given level. b171e835-bbbd-46cf-a782-25fecd91e4fd ${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} = b171e835-bbbd-46cf-a782-25fecd91e4fd ${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} = ['a6b6f242-527e-46bf-a88a-55d91d6e4b77', 'b171e835-bbbd-46cf-a782-25fecd91e4fd'] ${stdout} Logs the given message with the given level. ['a6b6f242-527e-46bf-a88a-55d91d6e4b77', 'b171e835-bbbd-46cf-a782-25fecd91e4fd'] ${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. "37747bca-6f57-4dac-a90d-ff02f9384158" ${server_group_name} ${ns_name} ${vnf_id} ${vdur_id} Return the affinity group name for a NF ${rc} ${affinity_group_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fdaad518-a491-40e4-a178-bf52a39028d0 --literal | yq '.vdur[] | select(.id == "'"37747bca-6f57-4dac-a90d-ff02f9384158"'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_id} = 0 ${affinity_group_id} Logs the given message with the given level. 0 ${rc} ${success_return_code} msg=${affinity_group_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${affinity_group_name} osm ns-show ${ns_name} --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'${affinity_group_id}'")' | yq '.name' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_24 --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'0'")' | yq '.name' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${affinity_group_name} Logs the given message with the given level. basic_24-affinity-basic-1-affinity-group-1 ${rc} ${success_return_code} msg=${affinity_group_name} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${server_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${vm_vim_id} ${vnf_id} ${vdur_id} Return the VIM VM ID for a VDU ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${vm_vim_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."vim-id"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fdaad518-a491-40e4-a178-bf52a39028d0 --literal | yq '.vdur[] | select(.id == "'"37747bca-6f57-4dac-a90d-ff02f9384158"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = a6b6f242-527e-46bf-a88a-55d91d6e4b77 ${vm_vim_id} Logs the given message with the given level. a6b6f242-527e-46bf-a88a-55d91d6e4b77 ${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} = a6b6f242-527e-46bf-a88a-55d91d6e4b77 ${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} = ['a6b6f242-527e-46bf-a88a-55d91d6e4b77', 'b171e835-bbbd-46cf-a782-25fecd91e4fd'] ${stdout} Logs the given message with the given level. ['a6b6f242-527e-46bf-a88a-55d91d6e4b77', 'b171e835-bbbd-46cf-a782-25fecd91e4fd'] ${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 | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | a6b6f242-527e-46bf-a88a-55d91d6e4b77 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.90 | ubuntu20.04 | simple_requires-1-1-flv | | b171e835-bbbd-46cf-a782-25fecd91e4fd | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.102 | ubuntu20.04 | simple_requires-1-1-flv | | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 0 ${stdout} = basic_24 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 == basic_24 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete affinity_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep affinity_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete affinity_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep affinity_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-24] VNF with two VDUs belonging to an Openstack server group ${id} '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-syst... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz f0fa2473-b8cd-4df1-aeb2-4adedea751d0 ${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} = f0fa2473-b8cd-4df1-aeb2-4adedea751d0 ${id} = f0fa2473-b8cd-4df1-aeb2-4adedea751d0 ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = f0fa2473-b8cd-4df1-aeb2-4adedea751d0 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 f306bce7-d605-446b-b5c2-e3f7eefd65fd ${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} = f306bce7-d605-446b-b5c2-e3f7eefd65fd 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} = 1f23d688-9fea-4047-9e8e-a814d8ad9b73 ${stdout} Logs the given message with the given level. 1f23d688-9fea-4047-9e8e-a814d8ad9b73 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1f23d688-9fea-4047-9e8e-a814d8ad9b73 ${ns_id} Logs the given message with the given level. 1f23d688-9fea-4047-9e8e-a814d8ad9b73 ${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 | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.54; basic_18-datanet2=192.168.20.189; basic_18-datanet3=192.168.30.250; osm-ext=172.21.249.225 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.86; basic_18-datanet2=192.168.20.81; basic_18-datanet3=192.168.30.218; osm-ext=172.21.248.156 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 6ff03d06-4ee8-4ded-8d8d-b5f95995a5f0 | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | | | 1cc38f55-7f6d-4f61-aafb-dd498b8372e8 | basic_18-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | c78c0c25-9dbc-4218-8222-c014114e86b8 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.206 | ubuntu20.04 | simple_requires-1-1-flv | | 845eed06-f955-4184-9cb6-be7a8a7e6641 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.136; osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47:07 | BUILDING | INSTANTIATING (6ffe20df-03a5-4adb-91c7-fb6a8a26b881) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | c78c0c25-9dbc-4218-8222-c014114e86b8 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.206 | ubuntu20.04 | simple_requires-1-1-flv | | 845eed06-f955-4184-9cb6-be7a8a7e6641 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.136; osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47: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} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | c78c0c25-9dbc-4218-8222-c014114e86b8 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.206 | ubuntu20.04 | simple_requires-1-1-flv | | 845eed06-f955-4184-9cb6-be7a8a7e6641 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.136; osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_25_charm_update_test | 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | 2024-04-11T01:47: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} = 1f23d688-9fea-4047-9e8e-a814d8ad9b73 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1f23d688-9fea-4047-9e8e-a814d8ad9b73 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 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 9ee6273d-f2eb-47f7-a455-424277a772a3 ${stdout} Logs the given message with the given level. 9ee6273d-f2eb-47f7-a455-424277a772a3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 9ee6273d-f2eb-47f7-a455-424277a772a3 ${id} Logs the given message with the given level. 9ee6273d-f2eb-47f7-a455-424277a772a3 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 9ee6273d-f2eb-47f7-a455-424277a772a3 ${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: "9ee6273d-f2eb-47f7-a455-424277a772a3", vnfdId: "f0fa2473-b8cd-4df1-aeb2-4adedea751d0"}]}' 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 1f23d688-9fea-4047-9e8e-a814d8ad9b73 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.71 ${stdout} Logs the given message with the given level. 172.21.249.71 ${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.71 ${ip_addr} Logs the given message with the given level. 172.21.249.71 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.71 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.71:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:49:58 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.71 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.71:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:49:59 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.71 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:49: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@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} = 5ab0169f-692c-438d-b44d-bb7e290c51ff ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5ab0169f-692c-438d-b44d-bb7e290c51ff --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5ab0169f-692c-438d-b44d-bb7e290c51ff ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5ab0169f-692c-438d-b44d-bb7e290c51ff --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5ab0169f-692c-438d-b44d-bb7e290c51ff --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 5ab0169f-692c-438d-b44d-bb7e290c51ff 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.71:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:50:21 UTC 2024 System load: 0.03 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.71 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:50: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@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 1f23d688-9fea-4047-9e8e-a814d8ad9b73 --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "9ee6273d-f2eb-47f7-a455-424277a772a3", vnfdId: "f0fa2473-b8cd-4df1-aeb2-4adedea751d0"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done 73d38bbb-f5a3-4c99-bc3b-ed37cd99208a ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done 73d38bbb-f5a3-4c99-bc3b-ed37cd99208a ${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} = 45c547e1-3439-4715-9d27-f419981662aa ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 45c547e1-3439-4715-9d27-f419981662aa --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 45c547e1-3439-4715-9d27-f419981662aa ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 45c547e1-3439-4715-9d27-f419981662aa --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 45c547e1-3439-4715-9d27-f419981662aa --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 45c547e1-3439-4715-9d27-f419981662aa 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.71:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:50:56 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.249.71 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 01:50: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@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 | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 6ecc8d32-98be-4678-9af5-373090df1e7e | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.40 | ubuntu20.04 | several_volumes-VM-flv | | bff158fc-d15c-4360-9a8d-502ff54127b2 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.194; osm-ext=172.21.248.54 | ubuntu18.04 | simple_requires-1-1-flv | | 8fbd828d-bc44-4337-98c9-1ba75cdb989c | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.161.226; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = basic_25_charm_update_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_25_charm_update_test == basic_25_charm_update_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 6ecc8d32-98be-4678-9af5-373090df1e7e | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.40 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_25_charm_update_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ha_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ha_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ha_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ha_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-25] Update Charms in Running VNF Instance. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_sriov_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_vnf Package created: /robot-systest/osm-... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_vnf Package created: /robot-systest/osm-packages/hackfest_basic_sriov_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_sriov_vnf.tar.gz 583aaf88-d072-4d72-9243-0e7e8b13ead0 ${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} = 583aaf88-d072-4d72-9243-0e7e8b13ead0 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 5c72127e-ef14-48d2-9483-b6da844ca18e ${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} = 5c72127e-ef14-48d2-9483-b6da844ca18e 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} = b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 ${stdout} Logs the given message with the given level. b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 ${ns_id} Logs the given message with the given level. b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 6ecc8d32-98be-4678-9af5-373090df1e7e | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.40 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51:30 | BUILDING | INSTANTIATING (62e43efd-5ff0-4b8e-97af-aae2bf89a413) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51:30 | BUILDING | INSTANTIATING (62e43efd-5ff0-4b8e-97af-aae2bf89a413) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 87446482-21c0-44e9-b6fd-f2959f30432e | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.95.143; osm-ext=172.21.249.110 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51:30 | BUILDING | INSTANTIATING (62e43efd-5ff0-4b8e-97af-aae2bf89a413) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51:30 | BUILDING | INSTANTIATING (62e43efd-5ff0-4b8e-97af-aae2bf89a413) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 87446482-21c0-44e9-b6fd-f2959f30432e | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.95.143; osm-ext=172.21.249.110 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_01-epa_sriov_test | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51:30 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 87446482-21c0-44e9-b6fd-f2959f30432e | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.95.143; osm-ext=172.21.249.110 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_01-epa_sriov_test | b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | 2024-04-11T01:51: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} = b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 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 b76ac8e8-6f68-4e68-8d7e-ce47c6f3e823 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.110 ${stdout} Logs the given message with the given level. 172.21.249.110 ${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.110 ${ip_addr} Logs the given message with the given level. 172.21.249.110 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.110 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.249.110:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:53:13 UTC 2024 System load: 0.94 Processes: 99 Usage of /: 3.8% of 28.90GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.110 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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | cb4cc3be-f135-40af-bc50-092edaf63f81 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | 05b22b76-acc1-4a45-909d-f55bb7e79f9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | simple_requires-1-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 87446482-21c0-44e9-b6fd-f2959f30432e | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.95.143; osm-ext=172.21.249.110 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 0 ${stdout} = epa_01-epa_sriov_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_01-epa_sriov_test == epa_01-epa_sriov_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | cb4cc3be-f135-40af-bc50-092edaf63f81 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | 05b22b76-acc1-4a45-909d-f55bb7e79f9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | simple_requires-1-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic_sriov-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic_sriov-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_sriov-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_sriov-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-01] EPA+SRIOV without underlay. OVERRIDES Deletes the specified environment variable. Environment variable 'OVERRIDES' does not exist. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/epa_quota_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_quota_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_quota_vnf Package created: /robot-systest/osm-packages/epa_quota_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_quota_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_quota_vnf Package created: /robot-systest/osm-packages/epa_quota_vnf.tar.gz Uploading package /robot-systest/osm-packages/epa_quota_vnf.tar.gz 907cb0a0-2843-4430-9daa-c0a4dcd60181 ${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} = 907cb0a0-2843-4430-9daa-c0a4dcd60181 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 7cc3d2cf-1da9-416a-87b0-a9b21c02d7f8 ${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} = 7cc3d2cf-1da9-416a-87b0-a9b21c02d7f8 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} = d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 ${stdout} Logs the given message with the given level. d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 ${ns_id} Logs the given message with the given level. d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | cb4cc3be-f135-40af-bc50-092edaf63f81 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | 05b22b76-acc1-4a45-909d-f55bb7e79f9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | simple_requires-1-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_02-epa_quota_test | d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 | 2024-04-11T01:53:49 | BUILDING | INSTANTIATING (abc345f1-73de-49d1-b5fa-51dc3b1eca53) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 | 2024-04-11T01:53:49 | BUILDING | INSTANTIATING (abc345f1-73de-49d1-b5fa-51dc3b1eca53) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 0491dbec-5a74-4a0f-bbcc-59829262282a | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | cb4cc3be-f135-40af-bc50-092edaf63f81 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | 05b22b76-acc1-4a45-909d-f55bb7e79f9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_02-epa_quota_test | d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 | 2024-04-11T01:53:49 | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 0491dbec-5a74-4a0f-bbcc-59829262282a | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | cb4cc3be-f135-40af-bc50-092edaf63f81 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_02-epa_quota_test | d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 | 2024-04-11T01:53:49 | 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} = d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 cluster_epa daily epa_02 regression ${vnfs_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep d0e3a36a-9f14-42df-a8e9-acd7cc0c2584 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 94e48068-4f97-4aa3-b9ee-be19d96521f2 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 94e48068-4f97-4aa3-b9ee-be19d96521f2 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 94e48068-4f97-4aa3-b9ee-be19d96521f2 ${vnfs_list} = ['94e48068-4f97-4aa3-b9ee-be19d96521f2'] ${vim_id} ${vnfs_list}[0] ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 94e48068-4f97-4aa3-b9ee-be19d96521f2 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 0491dbec-5a74-4a0f-bbcc-59829262282a ${stdout} Logs the given message with the given level. 0491dbec-5a74-4a0f-bbcc-59829262282a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = 0491dbec-5a74-4a0f-bbcc-59829262282a ${vim_id} Logs the given message with the given level. 0491dbec-5a74-4a0f-bbcc-59829262282a ${vnf_server_id} ${vim_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_server_id} = 0491dbec-5a74-4a0f-bbcc-59829262282a 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 0491dbec-5a74-4a0f-bbcc-59829262282a | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')''. ${rc} = 0 ${stdout} = 55e51191-e92b-43f9-a76b-50ede010d05f ${stdout} Logs the given message with the given level. 55e51191-e92b-43f9-a76b-50ede010d05f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${flavor_id} = 55e51191-e92b-43f9-a76b-50ede010d05f ${properties} ${flavor_id} ${flavor_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack flavor show ${flavor_id} | grep properties | awk -F '|' '{print $3}' Runs the given command in the system and returns the RC and output. Running command 'openstack flavor show 55e51191-e92b-43f9-a76b-50ede010d05f | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 0491dbec-5a74-4a0f-bbcc-59829262282a | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_02-epa_quota_test 2>&1'. ${rc} = 0 ${stdout} = epa_02-epa_quota_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_02-epa_quota_test == epa_02-epa_quota_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_02-epa_quota_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete epa_quota-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep epa_quota-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete epa_quota-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep epa_quota-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-02] Support for additional EPA capabilities. ${created_sdnc_id} ${sdnc_name} ${sdnc_user} ${sdnc_password} ${sdnc_url} ${sdnc_type} Creates an SDNC in OSM. The optional parameters (such as 'switch_dpid' or 'ip-address') are given to this function in name=value format. These parameters will be appended to the 'osm sdnc-create' command with the next syntax: --param_name=param_value Returns the ID of the created SDNC Target. Example of execution: ${sdnc_id}= Create SDNC ${sdnc_name} ${sdnc_user} ${sdnc_password} ${sdnc_url} ${sdnc_type} switch_dpid='{...}' ${osm_sdnc_create_command} osm sdnc-create --name ${sdnc_name} --user ${sdnc_user} --password ${sdnc_password} --url ${sdnc_url} --type ${sdnc_type} Returns the given values which can then be assigned to a variables. ${osm_sdnc_create_command} = osm sdnc-create --name epa_03 --user karaf --password karaf --url http://172.21.248.11:8181 --type onos_vpls ${param} @{optional_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${osm_sdnc_create_command} ${osm_sdnc_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${rc} ${stdout} ${osm_sdnc_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-create --name epa_03 --user karaf --password karaf --url http://172.21.248.11:8181 --type onos_vpls 2>&1'. ${rc} = 0 ${stdout} = 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${stdout} Logs the given message with the given level. 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_sdnc_id} = 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${sdnc_id} ${created_sdnc_id} Makes a variable available everywhere within the scope of the current suite. ${sdnc_id} = 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${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 7e689798-22a8-4bc3-a8af-43cf9e63a094 | 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=7e689798-22a8-4bc3-a8af-43cf9e63a094 ${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=7e689798-22a8-4bc3-a8af-43cf9e63a094 ${param_name} = sdnc_id ${param_value} = 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="7e689798-22a8-4bc3-a8af-43cf9e63a094", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 01:55:05 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=7e689798-22a8-4bc3-a8af-43cf9e63a094 ${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=7e689798-22a8-4bc3-a8af-43cf9e63a094 ${param_name} = sdnc_id ${param_value} = 7e689798-22a8-4bc3-a8af-43cf9e63a094 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="7e689798-22a8-4bc3-a8af-43cf9e63a094", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%227e689798-22a8-4bc3-a8af-43cf9e63a094%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 01:56:05 GMT', 'Content-Length': '231'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_sdnc_status","instance":"mon:8000","job":"mon_exporter","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","sdnc_id":"7e689798-22a8-4bc3-a8af-43cf9e63a094"},"value":[1712800565.107,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_sdnc_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be52... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_sdnc_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': '95079185-7c9a-4bd9-b18b-2be527e9a318', 'sdnc_id': '7e689798-22a8-4bc3-a8af-43cf9e63a094'}, 'va... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric} = 1 ${metric} 1 msg=SDNC '${sdnc_id}' is not active values=false Fails if objects are unequal after converting them to integers. cluster_epa daily epa_03 regression ${sdnc_name} ${rc} ${stdout} Run and Return RC and Output osm sdnc-delete ${sdnc_name} Runs the keyword and continues execution even if a failure occurs. osm sdnc-delete ${sdnc_name} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-delete epa_03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check for SDNC To Be Deleted ${sdnc_name} Runs the specified keyword and retries if it fails. ${sdnc_name} ${rc} ${stdout} osm sdnc-list | awk '{print $2}' | grep ${sdnc_name} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-list | awk '{print $2}' | grep epa_03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${sdnc_name} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_03 regression Delete Basic SDNC Runs the given keyword with the given arguments and ignores possible error. No keyword with name 'Delete Basic SDNC' found. Did you try using keyword 'RequestsLibrary.DELETE' and forgot to use enough whitespace between keyword and arguments? [EPA-03] CRUD operations on SDNC accounts. OVERRIDES Deletes the specified environment variable. Environment variable 'OVERRIDES' does not exist. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/epa_1vm_sriov_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_1vm_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_vnf Package created: /robot-systest/osm-packages/epa_1... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_1vm_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_vnf Package created: /robot-systest/osm-packages/epa_1vm_sriov_vnf.tar.gz Uploading package /robot-systest/osm-packages/epa_1vm_sriov_vnf.tar.gz 22dfeda9-ce57-40e1-bf06-a96642d99120 ${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} = 22dfeda9-ce57-40e1-bf06-a96642d99120 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 242eaa63-752e-471f-b9d8-656364b9efc9 ${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} = 242eaa63-752e-471f-b9d8-656364b9efc9 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} = 9599074d-2c90-4172-a3cf-de1cff4ef31d ${stdout} Logs the given message with the given level. 9599074d-2c90-4172-a3cf-de1cff4ef31d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9599074d-2c90-4172-a3cf-de1cff4ef31d ${ns_id} Logs the given message with the given level. 9599074d-2c90-4172-a3cf-de1cff4ef31d ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 94e53c39-7846-46fe-9104-0fd83861b0be | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.54 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b5bc7a9a-6de6-4b1e-8b4c-7c8039d9a9cf | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.188 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 94e53c39-7846-46fe-9104-0fd83861b0be | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | dd63f987-72ff-4910-81dd-b204434a7b8e | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.54 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b5bc7a9a-6de6-4b1e-8b4c-7c8039d9a9cf | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.188 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 94e53c39-7846-46fe-9104-0fd83861b0be | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56:12 | BUILDING | INSTANTIATING (50423ed2-1a56-4793-8c26-e7c878bd50ec) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.54 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b5bc7a9a-6de6-4b1e-8b4c-7c8039d9a9cf | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.188 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 94e53c39-7846-46fe-9104-0fd83861b0be | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_04 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56: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} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.54 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b5bc7a9a-6de6-4b1e-8b4c-7c8039d9a9cf | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.188 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 94e53c39-7846-46fe-9104-0fd83861b0be | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_04 | 9599074d-2c90-4172-a3cf-de1cff4ef31d | 2024-04-11T01:56: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} = 9599074d-2c90-4172-a3cf-de1cff4ef31d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9599074d-2c90-4172-a3cf-de1cff4ef31d 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 9599074d-2c90-4172-a3cf-de1cff4ef31d | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.188 ${stdout} Logs the given message with the given level. 172.21.249.188 ${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.188 ${ip_mgmt_1} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_1} = 172.21.249.188 ${ip_mgmt_1} Logs the given message with the given level. 172.21.249.188 ${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 9599074d-2c90-4172-a3cf-de1cff4ef31d | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.54 ${stdout} Logs the given message with the given level. 172.21.249.54 ${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.54 ${ip_mgmt_2} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_2} = 172.21.249.54 ${ip_mgmt_2} Logs the given message with the given level. 172.21.249.54 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.188:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:58:29 UTC 2024 System load: 0.83 Processes: 127 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.188 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:27:99:65 brd ff:ff:ff:ff:ff:ff inet 172.21.249.188/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86296sec preferred_lft 86296sec inet6 fe80::f816:3eff:fe27:9965/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:fa:b9:79 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:fefa:b979/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.931 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.182 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.176 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.227 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4070ms rtt min/avg/max/mdev = 0.176/0.340/0.931/0.295 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:27:99:65 brd ff:ff:ff:ff:ff:ff inet 172.21.249.188/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86296sec preferred_lft 86296sec inet6 fe80::f816:3eff:fe27:9965/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:fa:b9:79 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:fefa:b979/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.931 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.182 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.176 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.227 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4070ms rtt min/avg/max/mdev = 0.176/0.340/0.931/0.295 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.54:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 01:58:35 UTC 2024 System load: 0.23 Processes: 124 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.54 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:7f:1b:3b brd ff:ff:ff:ff:ff:ff inet 172.21.249.54/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86294sec preferred_lft 86294sec inet6 fe80::f816:3eff:fe7f:1b3b/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:87:73:c4 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:fe87:73c4/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.213 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.353 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.280 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=2.55 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.223 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4065ms rtt min/avg/max/mdev = 0.213/0.724/2.554/0.916 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:7f:1b:3b brd ff:ff:ff:ff:ff:ff inet 172.21.249.54/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86294sec preferred_lft 86294sec inet6 fe80::f816:3eff:fe7f:1b3b/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:87:73:c4 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:fe87:73c4/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.213 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.353 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.280 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=2.55 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.223 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4065ms rtt min/avg/max/mdev = 0.213/0.724/2.554/0.916 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 | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.54 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b5bc7a9a-6de6-4b1e-8b4c-7c8039d9a9cf | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.188 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+---------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+---------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+---------+------------------------+-------------+-------------------------+ | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | e0c408b2-c91c-4ece-8273-280f79aedd70 | epa_04-vnf2-dataVM-0 | DELETED | | ubuntu20.04 | | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+---------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | b9ec630c-730f-4ce0-87b9-769911afbabb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.26 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete epa_1vm_sriov-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep epa_1vm_sriov-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete epa_1vm_sriov-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep epa_1vm_sriov-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-04] EPA underlay SR-IOV. ${ram_quota} ram Get a field (ram, cores, ports, etc.) from quota in current project. ${field} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} openstack quota show -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack quota show -c ram -f value 2>&1'. ${rc} = 0 ${stdout} = 327680 ${stdout} Logs the given message with the given level. 327680 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ram_quota} = 327680 ${memory} VM_MEMORY_OVERRIDE default=${default_memory} Returns the value of an environment variable with the given name. ${memory} ${ram_quota} / 1000 Evaluates the given expression in Python and returns the result. ${memory} = 327.68 ${memory} Logs the given message with the given level. 327.68 '%{PACKAGES_FOLDER}/${vnfd_pkg}' virtual-compute-desc.1.virtual-memory.size=${memory} Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - override_fields: String with options to override fields in descriptor, format: "key1.key2...=value[;key3...=value;...]" - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} --override '${override_fields}' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/simple_2vm_vnf' --override 'virtual-compute-desc.1.virtual-memory.size=327.68' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_vnf Package created: /robot-systest/osm-packages/simple_2vm_... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_vnf Package created: /robot-systest/osm-packages/simple_2vm_vnf.tar.gz Uploading package /robot-systest/osm-packages/simple_2vm_vnf.tar.gz 03a2f993-660d-4e99-a643-4df447e8e656 ${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} = 03a2f993-660d-4e99-a643-4df447e8e656 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 dfa9cf8f-b51d-4c30-9c0a-aa2ba76c391d ${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} = dfa9cf8f-b51d-4c30-9c0a-aa2ba76c391d cluster_main daily fail_01 regression ${rand} 4 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 3727 ${ns_name} SEPARATOR=_ ${ns_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${ns_name} = fail_01_3727 ${ns_name} Makes a variable available everywhere within the scope of the current suite. ${ns_name} = fail_01_3727 ${ns_name} Logs the given message with the given level. fail_01_3727 ${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_3727 --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} = cf21b92b-a518-4cae-bd55-591a8f8cd643 ${stdout} Logs the given message with the given level. cf21b92b-a518-4cae-bd55-591a8f8cd643 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = cf21b92b-a518-4cae-bd55-591a8f8cd643 ${id} Logs the given message with the given level. cf21b92b-a518-4cae-bd55-591a8f8cd643 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = cf21b92b-a518-4cae-bd55-591a8f8cd643 ${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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | b9ec630c-730f-4ce0-87b9-769911afbabb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.26 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_3727" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_3727 | cf21b92b-a518-4cae-bd55-591a8f8cd643 | 2024-04-11T01:59:33 | BUILDING | INSTANTIATING (f89cbefa-f6bb-4b38-b82e-2dd4f5b335f0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_3727 | cf21b92b-a518-4cae-bd55-591a8f8cd643 | 2024-04-11T01:59:33 | BUILDING | INSTANTIATING (f89cbefa-f6bb-4b38-b82e-2dd4f5b335f0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | b177048b-85af-45ef-b8fa-878f6ecbe901 | fail_01_3727-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | b9ec630c-730f-4ce0-87b9-769911afbabb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.26 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_3727" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_3727 | cf21b92b-a518-4cae-bd55-591a8f8cd643 | 2024-04-11T01:59:33 | BUILDING | INSTANTIATING (f89cbefa-f6bb-4b38-b82e-2dd4f5b335f0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_3727 | cf21b92b-a518-4cae-bd55-591a8f8cd643 | 2024-04-11T01:59:33 | BUILDING | INSTANTIATING (f89cbefa-f6bb-4b38-b82e-2dd4f5b335f0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | b177048b-85af-45ef-b8fa-878f6ecbe901 | fail_01_3727-vnf-mgmtVM-0 | ACTIVE | fail_01_3727-internal=192.168.4.124; osm-ext=172.21.248.240 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_3727" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | 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_3727 | cf21b92b-a518-4cae-bd55-591a8f8cd643 | 2024-04-11T01:59:33 | BROKEN | IDLE (None) | Operation: INSTANTIATING.f89cbefa-f6bb-4 | | | | | | | b38-b82e-2dd4f5b335f0, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: Forbidden: Quota exceeded | | | | | | | for ram: Requested 335544, but already | | | | | | | used 190464 of 327680 ram (HTTP 403) | | | | | | | (Request-ID: req-3f4f4a42-3098-457b-ae49 | | | | | | | -484782ed54f0) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after 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="cf21b92b-a518-4cae-bd55-591a8f8cd643" | grep cf21b92b-a518-4cae-bd55-591a8f8cd643 | 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 cf21b92b-a518-4cae-bd55-591a8f8cd643 --literal | yq .errorDetail 2>&1'. ${rc} = 0 ${stdout} = "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-3f4f4a42-3098-457b-ae49-484782ed54f0)" ${stdout} Logs the given message with the given level. "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-3f4f4a42-3098-457b-ae49-484782ed54f0)" ${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_3727 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 | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | b177048b-85af-45ef-b8fa-878f6ecbe901 | fail_01_3727-vnf-mgmtVM-0 | ACTIVE | fail_01_3727-internal=192.168.4.124; osm-ext=172.21.248.240 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep fail_01_3727 2>&1'. ${rc} = 0 ${stdout} = fail_01_3727 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_3727 == fail_01_3727 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | f3cfcad1-4d3b-4bf9-98a4-002ca017721f | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep fail_01_3727 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_3727 | 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 7c808945-7e29-460c-b21f-e9785dc69801 ${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} = 7c808945-7e29-460c-b21f-e9785dc69801 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 96f7f3ba-7da8-4175-8fbe-ef81e7e901d6 ${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} = 96f7f3ba-7da8-4175-8fbe-ef81e7e901d6 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} = 1e486ba9-82de-4a4f-a382-54dd92841d76 ${stdout} Logs the given message with the given level. 1e486ba9-82de-4a4f-a382-54dd92841d76 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1e486ba9-82de-4a4f-a382-54dd92841d76 ${ns_id} Logs the given message with the given level. 1e486ba9-82de-4a4f-a382-54dd92841d76 ${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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | f3cfcad1-4d3b-4bf9-98a4-002ca017721f | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfbasic | 1e486ba9-82de-4a4f-a382-54dd92841d76 | 2024-04-11T02:00:51 | BUILDING | INSTANTIATING (4f8bfb9c-549b-477d-8069-9ec70232ded1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1e486ba9-82de-4a4f-a382-54dd92841d76 | 2024-04-11T02:00:51 | BUILDING | INSTANTIATING (4f8bfb9c-549b-477d-8069-9ec70232ded1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | dfecd68a-2a3e-4069-9181-7e4e1b567165 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.56 | ubuntu20.04 | simple_requires-1-1-flv | | f3cfcad1-4d3b-4bf9-98a4-002ca017721f | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfbasic | 1e486ba9-82de-4a4f-a382-54dd92841d76 | 2024-04-11T02:00:51 | 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | dfecd68a-2a3e-4069-9181-7e4e1b567165 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.56 | ubuntu20.04 | simple_requires-1-1-flv | | f3cfcad1-4d3b-4bf9-98a4-002ca017721f | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfbasic | 1e486ba9-82de-4a4f-a382-54dd92841d76 | 2024-04-11T02:00:51 | 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} = 1e486ba9-82de-4a4f-a382-54dd92841d76 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1e486ba9-82de-4a4f-a382-54dd92841d76 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 1e486ba9-82de-4a4f-a382-54dd92841d76 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.56 ${stdout} Logs the given message with the given level. 172.21.248.56 ${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.56 ${ip_addr} Logs the given message with the given level. 172.21.248.56 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.56 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.56 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.56 (172.21.248.56) 56(84) bytes of data. 64 bytes from 172.21.248.56: icmp_seq=1 ttl=63 time=3.19 ms 64 bytes from 172.21.248.56: icmp_seq=2 ttl=63 time=0.635 ms --- 172.21.248.56 pin... ${stdout} Logs the given message with the given level. PING 172.21.248.56 (172.21.248.56) 56(84) bytes of data. 64 bytes from 172.21.248.56: icmp_seq=1 ttl=63 time=3.19 ms 64 bytes from 172.21.248.56: icmp_seq=2 ttl=63 time=0.635 ms --- 172.21.248.56 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.635/1.913/3.191/1.278 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.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 Thu Apr 11 02:02:03 UTC 2024 System load: 0.81 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.56 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfbasic-vnf-hackfest-basic-vm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_basic regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfbasic 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | dfecd68a-2a3e-4069-9181-7e4e1b567165 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.56 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfbasic 2>&1'. ${rc} = 0 ${stdout} = hfbasic ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfbasic == hfbasic ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfbasic 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-BASIC] Basic NS with a single-VDU VNF '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_cloudinit_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_vnf Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_vnf Package created: /robot-systest/osm-packages/hackfest_cloudinit_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_cloudinit_vnf.tar.gz e1c020ce-dbcc-4d11-b13e-eed4597f99a2 ${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} = e1c020ce-dbcc-4d11-b13e-eed4597f99a2 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 e6d36a16-5dc2-4c78-a73c-8cd270da9b6a ${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} = e6d36a16-5dc2-4c78-a73c-8cd270da9b6a 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} = 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 ${stdout} Logs the given message with the given level. 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 ${ns_id} Logs the given message with the given level. 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | bb07464e-7c8c-4d84-a3ee-9c0b9ee21b1a | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | BUILDING | INSTANTIATING (d75cf13c-b8d4-4615-b109-fd16bd49be52) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | BUILDING | INSTANTIATING (d75cf13c-b8d4-4615-b109-fd16bd49be52) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | e7b0c6b0-12c5-4469-b93f-2a8fa14df3ad | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ad17fcb3-3358-48b7-94bc-ebad3564daa0 | hfcloudinit-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | dbec2768-f5b9-4f8f-9748-b1a5feb33237 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.87.159; osm-ext=172.21.248.106 | ubuntu20.04 | simple_requires-1-1-flv | | 89af6445-56c3-4d14-b737-50efbe55770f | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::22f | ubuntu20.04 | simple_requires-1-1-flv | | bb07464e-7c8c-4d84-a3ee-9c0b9ee21b1a | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::37d; osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | BUILDING | INSTANTIATING (d75cf13c-b8d4-4615-b109-fd16bd49be52) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | BUILDING | INSTANTIATING (d75cf13c-b8d4-4615-b109-fd16bd49be52) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 5c2f48c6-e763-483d-9e99-5000de8d174c | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.33; hfcloudinit-internal=192.168.61.139 | ubuntu20.04 | simple_requires-1-1-flv | | e7b0c6b0-12c5-4469-b93f-2a8fa14df3ad | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.61.249; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ad17fcb3-3358-48b7-94bc-ebad3564daa0 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.41; hfcloudinit-internal=192.168.87.157 | ubuntu20.04 | simple_requires-1-1-flv | | dbec2768-f5b9-4f8f-9748-b1a5feb33237 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.87.159; osm-ext=172.21.248.106 | ubuntu20.04 | simple_requires-1-1-flv | | 89af6445-56c3-4d14-b737-50efbe55770f | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::22f | ubuntu20.04 | simple_requires-1-1-flv | | bb07464e-7c8c-4d84-a3ee-9c0b9ee21b1a | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::37d; osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfcloudinit | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 5c2f48c6-e763-483d-9e99-5000de8d174c | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.33; hfcloudinit-internal=192.168.61.139 | ubuntu20.04 | simple_requires-1-1-flv | | e7b0c6b0-12c5-4469-b93f-2a8fa14df3ad | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.61.249; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ad17fcb3-3358-48b7-94bc-ebad3564daa0 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.41; hfcloudinit-internal=192.168.87.157 | ubuntu20.04 | simple_requires-1-1-flv | | dbec2768-f5b9-4f8f-9748-b1a5feb33237 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.87.159; osm-ext=172.21.248.106 | ubuntu20.04 | simple_requires-1-1-flv | | 89af6445-56c3-4d14-b737-50efbe55770f | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::22f | ubuntu20.04 | simple_requires-1-1-flv | | bb07464e-7c8c-4d84-a3ee-9c0b9ee21b1a | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::37d; osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfcloudinit | 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | 2024-04-11T02:02:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 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 0878aad1-54ff-4d2c-9cd1-9edc3e7ad3b4 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.106 ${stdout} Logs the given message with the given level. 172.21.248.106 ${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.106 ${ip_addr} Logs the given message with the given level. 172.21.248.106 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.106 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.106:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 02:04:21 UTC 2024 System load: 0.44 Processes: 107 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.106 Swap usage: 0% IPv4 address for ens4: 192.168.87.159 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.106:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 02:04:23 UTC 2024 System load: 0.44 Processes: 107 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.106 Swap usage: 0% IPv4 address for ens4: 192.168.87.159 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 02:04:22 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfcloudinit-vnf1-mgmtvm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo cat /root/helloworld.txt'. Command exited with return code 0. ${stdout} = # My new helloworld file ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. # My new helloworld file Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = # My new helloworld file ${stdout} Logs the given message with the given level. # My new helloworld file cluster_main daily hackfest_cloudinit regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 5c2f48c6-e763-483d-9e99-5000de8d174c | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.33; hfcloudinit-internal=192.168.61.139 | ubuntu20.04 | simple_requires-1-1-flv | | e7b0c6b0-12c5-4469-b93f-2a8fa14df3ad | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.61.249; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ad17fcb3-3358-48b7-94bc-ebad3564daa0 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.113.41; hfcloudinit-internal=192.168.87.157 | ubuntu20.04 | simple_requires-1-1-flv | | dbec2768-f5b9-4f8f-9748-b1a5feb33237 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.87.159; osm-ext=172.21.248.106 | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = hfcloudinit ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfcloudinit == hfcloudinit ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+---------+-------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+---------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+---------+-------------------------------------------------------------+-------------+-------------------------+ | 5c2f48c6-e763-483d-9e99-5000de8d174c | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.61.139 | ubuntu20.04 | simple_requires-1-1-flv | | e7b0c6b0-12c5-4469-b93f-2a8fa14df3ad | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.61.249; osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ad17fcb3-3358-48b7-94bc-ebad3564daa0 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | dbec2768-f5b9-4f8f-9748-b1a5feb33237 | hfcloudinit-vnf1-mgmtVM-0 | DELETED | | ubuntu20.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+---------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = hfcloudinit ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfcloudinit == hfcloudinit ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_cloudinit-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_cloudinit-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_cloudinit-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_cloudinit-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-CLOUDINIT] Basic NS with two multi-VDU VNF with cloudinit '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_multivdu_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz b8687b44-0d18-414c-af67-2231201ad33c ${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} = b8687b44-0d18-414c-af67-2231201ad33c 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 74c8ff21-7535-4863-b430-3c84a3c8d5b9 ${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} = 74c8ff21-7535-4863-b430-3c84a3c8d5b9 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} = 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${stdout} Logs the given message with the given level. 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${ns_id} Logs the given message with the given level. 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${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 | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | BUILDING | INSTANTIATING (b2d0030a-0d61-4596-afbb-d9189d996229) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | BUILDING | INSTANTIATING (b2d0030a-0d61-4596-afbb-d9189d996229) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 390c69b2-a9a4-46aa-a5b4-b7ea11855ea6 | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | b501303b-caba-4162-bf8c-69a1563a9a94 | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 164db88b-19e0-4914-b694-e4d4510234be | hfmultivdu-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 53739191-22c0-4a6d-9df0-2f98e82fd320 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.168.102; osm-ext=172.21.249.50 | ubuntu20.04 | simple_requires-1-1-flv | | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | BUILDING | INSTANTIATING (b2d0030a-0d61-4596-afbb-d9189d996229) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | BUILDING | INSTANTIATING (b2d0030a-0d61-4596-afbb-d9189d996229) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 390c69b2-a9a4-46aa-a5b4-b7ea11855ea6 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.140; hfmultivdu-internal=192.168.6.24 | ubuntu20.04 | simple_requires-1-1-flv | | b501303b-caba-4162-bf8c-69a1563a9a94 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.6.169; osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 164db88b-19e0-4914-b694-e4d4510234be | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.152; hfmultivdu-internal=192.168.168.130 | ubuntu20.04 | simple_requires-1-1-flv | | 53739191-22c0-4a6d-9df0-2f98e82fd320 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.168.102; osm-ext=172.21.249.50 | ubuntu20.04 | simple_requires-1-1-flv | | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfmultivdu | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 390c69b2-a9a4-46aa-a5b4-b7ea11855ea6 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.140; hfmultivdu-internal=192.168.6.24 | ubuntu20.04 | simple_requires-1-1-flv | | b501303b-caba-4162-bf8c-69a1563a9a94 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.6.169; osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 164db88b-19e0-4914-b694-e4d4510234be | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.152; hfmultivdu-internal=192.168.168.130 | ubuntu20.04 | simple_requires-1-1-flv | | 53739191-22c0-4a6d-9df0-2f98e82fd320 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.168.102; osm-ext=172.21.249.50 | ubuntu20.04 | simple_requires-1-1-flv | | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfmultivdu | 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | 2024-04-11T02:05:16 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4d3a1a26-98ad-4776-83a8-d9def22e21a5 ${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 4d3a1a26-98ad-4776-83a8-d9def22e21a5 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.50 ${stdout} Logs the given message with the given level. 172.21.249.50 ${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.50 ${ip_addr} Logs the given message with the given level. 172.21.249.50 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.50 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.50 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.50 (172.21.249.50) 56(84) bytes of data. 64 bytes from 172.21.249.50: icmp_seq=1 ttl=63 time=2.57 ms 64 bytes from 172.21.249.50: icmp_seq=2 ttl=63 time=1.28 ms --- 172.21.249.50 ping... ${stdout} Logs the given message with the given level. PING 172.21.249.50 (172.21.249.50) 56(84) bytes of data. 64 bytes from 172.21.249.50: icmp_seq=1 ttl=63 time=2.57 ms 64 bytes from 172.21.249.50: icmp_seq=2 ttl=63 time=1.28 ms --- 172.21.249.50 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 1.281/1.926/2.571/0.645 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.50:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 02:07:19 UTC 2024 System load: 0.87 Processes: 107 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.50 Swap usage: 0% IPv4 address for ens4: 192.168.168.102 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfmultivdu-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_multivdu regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 390c69b2-a9a4-46aa-a5b4-b7ea11855ea6 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.140; hfmultivdu-internal=192.168.6.24 | ubuntu20.04 | simple_requires-1-1-flv | | b501303b-caba-4162-bf8c-69a1563a9a94 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.6.169; osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 164db88b-19e0-4914-b694-e4d4510234be | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.114.152; hfmultivdu-internal=192.168.168.130 | ubuntu20.04 | simple_requires-1-1-flv | | 53739191-22c0-4a6d-9df0-2f98e82fd320 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.168.102; osm-ext=172.21.249.50 | ubuntu20.04 | simple_requires-1-1-flv | | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 390c69b2-a9a4-46aa-a5b4-b7ea11855ea6 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.6.24 | ubuntu20.04 | simple_requires-1-1-flv | | b501303b-caba-4162-bf8c-69a1563a9a94 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.6.169; osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20a; basic_30-datanet2=192.168.20.175; basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.254; basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_multivdu-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_multivdu-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_multivdu-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_multivdu-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-MULTIVDU] Basic NS with two multi-VDU VNF '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz 8442df68-4223-4a27-8fcb-ac278eefceda ${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} = 8442df68-4223-4a27-8fcb-ac278eefceda '%{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 126a0fa2-ab3e-4af6-8fb3-4ea6e7e80741 ${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} = 126a0fa2-ab3e-4af6-8fb3-4ea6e7e80741 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 0863c0bf-92b4-4eec-ac9e-7b679a133b6d ${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} = 0863c0bf-92b4-4eec-ac9e-7b679a133b6d cluster_heal daily heal_01 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_01 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = a554df2f-f389-4566-ad6b-319da23f8d0a ${stdout} Logs the given message with the given level. a554df2f-f389-4566-ad6b-319da23f8d0a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a554df2f-f389-4566-ad6b-319da23f8d0a ${ns_id} Logs the given message with the given level. a554df2f-f389-4566-ad6b-319da23f8d0a ${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 | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | c69e01f0-36bb-4c7e-afb7-19fa9199a37d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.1; osm-ext=172.21.248.89 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | ce9c38fb-474c-4646-ba90-c44f4aa110e8 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.119; osm-ext=172.21.248.205 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | d6e01527-f851-4005-b2c8-a899212f2ab3 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu22.04 | mgmtVM-vnf-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | d1202898-706b-48c7-82c1-c883faf8d901 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu22.04 | mgmtVM-vnf-1-flv | | d6e01527-f851-4005-b2c8-a899212f2ab3 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu22.04 | mgmtVM-vnf-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | d1202898-706b-48c7-82c1-c883faf8d901 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu22.04 | mgmtVM-vnf-1-flv | | d6e01527-f851-4005-b2c8-a899212f2ab3 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu22.04 | mgmtVM-vnf-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | d1202898-706b-48c7-82c1-c883faf8d901 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu22.04 | mgmtVM-vnf-1-flv | | d6e01527-f851-4005-b2c8-a899212f2ab3 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu22.04 | mgmtVM-vnf-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | d1202898-706b-48c7-82c1-c883faf8d901 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.94 | ubuntu22.04 | mgmtVM-vnf-1-flv | | d6e01527-f851-4005-b2c8-a899212f2ab3 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu22.04 | mgmtVM-vnf-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08:15 | BUILDING | INSTANTIATING (361531b8-db49-41f6-a04b-12607e232c87) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 51bc9433-37dd-4173-a31f-02612d489bea | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.61 | ubuntu20.04 | simple_requires-1-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08: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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 51bc9433-37dd-4173-a31f-02612d489bea | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.61 | ubuntu20.04 | simple_requires-1-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad77801-f668-494b-899d-0d4fe1862753 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_01 | a554df2f-f389-4566-ad6b-319da23f8d0a | 2024-04-11T02:08: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} = a554df2f-f389-4566-ad6b-319da23f8d0a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a554df2f-f389-4566-ad6b-319da23f8d0a cluster_heal daily heal_01 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_01 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep a554df2f-f389-4566-ad6b-319da23f8d0a | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 782e0adf-3405-44a3-8062-c446772c1de1 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 782e0adf-3405-44a3-8062-c446772c1de1 | 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 782e0adf-3405-44a3-8062-c446772c1de1 1: 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 @{vnf_id_list} = [ 782e0adf-3405-44a3-8062-c446772c1de1 | 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] ${vnf_id_list} Logs the given message with the given level. ['782e0adf-3405-44a3-8062-c446772c1de1', '4d08301a-8cc2-4a6a-9ffc-b200c2121bc3'] ${vnf_id} @{vnf_id_list} 782e0adf-3405-44a3-8062-c446772c1de1 ${vnf_id} Logs the given message with the given level. 782e0adf-3405-44a3-8062-c446772c1de1 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8ad77801-f668-494b-899d-0d4fe1862753 ${stdout} Logs the given message with the given level. 8ad77801-f668-494b-899d-0d4fe1862753 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 8ad77801-f668-494b-899d-0d4fe1862753 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 8ad77801-f668-494b-899d-0d4fe1862753 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ${vnf_id} Logs the given message with the given level. 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${stdout} Logs the given message with the given level. 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 8ad77801-f668-494b-899d-0d4fe1862753 ${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 8ad77801-f668-494b-899d-0d4fe1862753 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${stdout} Logs the given message with the given level. [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c8ba08d0-d28f-4c4b-9bc8-a67715f95900'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db ${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 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db -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``. f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${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 f5a93abe-cbda-4427-a94c-fd0e2ce34fbb -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. 8ad77801-f668-494b-899d-0d4fe1862753 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb @{vim_volumes} Logs the given messages as separate entries using the INFO level. c8ba08d0-d28f-4c4b-9bc8-a67715f95900 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 a554df2f-f389-4566-ad6b-319da23f8d0a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.168 ${stdout} Logs the given message with the given level. 172.21.249.168 ${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.168 ${ip_addr} Logs the given message with the given level. 172.21.249.168 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.249.168 ${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 a554df2f-f389-4566-ad6b-319da23f8d0a | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 782e0adf-3405-44a3-8062-c446772c1de1 ${stdout} Logs the given message with the given level. 782e0adf-3405-44a3-8062-c446772c1de1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 782e0adf-3405-44a3-8062-c446772c1de1 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = 782e0adf-3405-44a3-8062-c446772c1de1 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8ad77801-f668-494b-899d-0d4fe1862753 ${stdout} Logs the given message with the given level. 8ad77801-f668-494b-899d-0d4fe1862753 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 8ad77801-f668-494b-899d-0d4fe1862753 ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 8ad77801-f668-494b-899d-0d4fe1862753 ${vdu_volumes_id} Logs the given message with the given level. 8ad77801-f668-494b-899d-0d4fe1862753 @{volumes_ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.168 ${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.168 ] @{volumes_ip_list} = [ 172.21.249.168 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.249.168 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.249.168 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 8ad77801-f668-494b-899d-0d4fe1862753 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${stdout} Logs the given message with the given level. [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c8ba08d0-d28f-4c4b-9bc8-a67715f95900'] ${volume_id} ${match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_id} = c8ba08d0-d28f-4c4b-9bc8-a67715f95900 cluster_heal daily heal_01 ${vnf_volumes_ip_addr} msg=VNF is not available Fails unless the given variable exists within the current scope. 20 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 20 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.168:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 02:12:50 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.249.168 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 8ad77801-f668-494b-899d-0d4fe1862753 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 a554df2f-f389-4566-ad6b-319da23f8d0a --vnf 782e0adf-3405-44a3-8062-c446772c1de1 --cause "Heal VM of volumes_vnf" --vdu several_volumes-VM 2>&1'. ${rc} = 0 ${stdout} = 140e6d95-5f07-4b32-971b-f506ffff30c7 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 140e6d95-5f07-4b32-971b-f506ffff30c7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 140e6d95-5f07-4b32-971b-f506ffff30c7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 140e6d95-5f07-4b32-971b-f506ffff30c7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 140e6d95-5f07-4b32-971b-f506ffff30c7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 140e6d95-5f07-4b32-971b-f506ffff30c7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 140e6d95-5f07-4b32-971b-f506ffff30c7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_01 ${vnf_volumes_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.168 ${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.168 ] @{ip_list} = [ 172.21.249.168 ] @{ip_list} Logs the given message with the given level. 172.21.249.168 ${ip_list} ${volumes_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_volumes_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8f687d9b-f020-4131-b97f-f65be60e9441 ${stdout} Logs the given message with the given level. 8f687d9b-f020-4131-b97f-f65be60e9441 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 8f687d9b-f020-4131-b97f-f65be60e9441 ${id} Logs the given message with the given level. 8f687d9b-f020-4131-b97f-f65be60e9441 ${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 8f687d9b-f020-4131-b97f-f65be60e9441 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${stdout} Logs the given message with the given level. [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c8ba08d0-d28f-4c4b-9bc8-a67715f95900'] ${match}[0] ${volume_id} Volume id has changed after healing Fails if the given objects are unequal. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.168:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 02:14:25 UTC 2024 System load: 0.3 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.168 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@heal-01-several-volumes--several-volumes-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo lsblk -l'. Command exited with return code 0. ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${lines} ${stdout} disk Returns lines of the given ``string`` that contain the ``pattern``. 3 out of 10 lines matched ${lines} = vda 252:0 0 10G 0 disk vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${num_lines} ${lines} Returns and logs the number of lines in the given string. 3 lines ${num_lines} = 3 ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_01 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep a554df2f-f389-4566-ad6b-319da23f8d0a | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 782e0adf-3405-44a3-8062-c446772c1de1 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 782e0adf-3405-44a3-8062-c446772c1de1 | 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 782e0adf-3405-44a3-8062-c446772c1de1 1: 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 @{vnf_id_list} = [ 782e0adf-3405-44a3-8062-c446772c1de1 | 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ] ${vnf_id} @{vnf_id_list} 782e0adf-3405-44a3-8062-c446772c1de1 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 782e0adf-3405-44a3-8062-c446772c1de1 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8f687d9b-f020-4131-b97f-f65be60e9441 ${stdout} Logs the given message with the given level. 8f687d9b-f020-4131-b97f-f65be60e9441 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 8f687d9b-f020-4131-b97f-f65be60e9441 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 8f687d9b-f020-4131-b97f-f65be60e9441 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 8f687d9b-f020-4131-b97f-f65be60e9441 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4d08301a-8cc2-4a6a-9ffc-b200c2121bc3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${stdout} Logs the given message with the given level. 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 8f687d9b-f020-4131-b97f-f65be60e9441 ${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 8f687d9b-f020-4131-b97f-f65be60e9441 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${stdout} Logs the given message with the given level. [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'c8ba08d0-d28f-4c4b-9bc8-a67715f95900'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c8ba08d0-d28f-4c4b-9bc8-a67715f95900'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db ${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 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db -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``. f5a93abe-cbda-4427-a94c-fd0e2ce34fbb ${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 f5a93abe-cbda-4427-a94c-fd0e2ce34fbb -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. 8ad77801-f668-494b-899d-0d4fe1862753 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db f5a93abe-cbda-4427-a94c-fd0e2ce34fbb 8f687d9b-f020-4131-b97f-f65be60e9441 @{vim_volumes} Logs the given messages as separate entries using the INFO level. c8ba08d0-d28f-4c4b-9bc8-a67715f95900 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 8f687d9b-f020-4131-b97f-f65be60e9441 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | 51bc9433-37dd-4173-a31f-02612d489bea | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.61 | ubuntu20.04 | simple_requires-1-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.247.170; osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.247.139; osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6b0cb8c8-3def-4a67-bb33-37b6bfa5e386 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 8f687d9b-f020-4131-b97f-f65be60e9441 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu20.04 | several_volumes-VM-flv | | 51bc9433-37dd-4173-a31f-02612d489bea | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.61 | ubuntu20.04 | simple_requires-1-1-flv | | f5a93abe-cbda-4427-a94c-fd0e2ce34fbb | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.27 | ubuntu18.04 | simple_requires-1-1-flv | | 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.103 | ubuntu18.04 | simple_requires-1-1-flv | | ebe28f1a-e702-42d6-821d-8b3f5b465053 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 6b0cb8c8-3def-4a67-bb33-37b6bfa5e386 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 51bc9433-37dd-4173-a31f-02612d489bea | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.61 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} c8ba08d0-d28f-4c4b-9bc8-a67715f95900 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume c8ba08d0-d28f-4c4b-9bc8-a67715f95900 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 c8ba08d0-d28f-4c4b-9bc8-a67715f95900 | 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} 8ad77801-f668-494b-899d-0d4fe1862753 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 8ad77801-f668-494b-899d-0d4fe1862753 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 8ad77801-f668-494b-899d-0d4fe1862753 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '8ad77801-f668-494b-899d-0d4fe1862753' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '8ad77801-f668-494b-899d-0d4fe1862753' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db 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 9d86807e-3f1f-41f4-8e6f-7fcf68fb63db -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '9d86807e-3f1f-41f4-8e6f-7fcf68fb63db' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '9d86807e-3f1f-41f4-8e6f-7fcf68fb63db' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. f5a93abe-cbda-4427-a94c-fd0e2ce34fbb Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server f5a93abe-cbda-4427-a94c-fd0e2ce34fbb 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 f5a93abe-cbda-4427-a94c-fd0e2ce34fbb -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'f5a93abe-cbda-4427-a94c-fd0e2ce34fbb' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'f5a93abe-cbda-4427-a94c-fd0e2ce34fbb' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 8f687d9b-f020-4131-b97f-f65be60e9441 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 8f687d9b-f020-4131-b97f-f65be60e9441 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 8f687d9b-f020-4131-b97f-f65be60e9441 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '8f687d9b-f020-4131-b97f-f65be60e9441' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '8f687d9b-f020-4131-b97f-f65be60e9441' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Objects in VIM Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-01] Healing of a multi-volume VDU '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz 88268f09-10a2-412e-b561-e8ac14d2a2ad ${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} = 88268f09-10a2-412e-b561-e8ac14d2a2ad '%{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 f7948cdb-811a-4abf-8fe3-a0b0100b2e2b ${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} = f7948cdb-811a-4abf-8fe3-a0b0100b2e2b 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 0d54ce9b-b17d-419d-8ce5-670e8299ff93 ${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} = 0d54ce9b-b17d-419d-8ce5-670e8299ff93 cluster_heal daily heal_02 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_02 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 3015dc87-8879-4bd3-9cd9-7e9a1493d637 ${stdout} Logs the given message with the given level. 3015dc87-8879-4bd3-9cd9-7e9a1493d637 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3015dc87-8879-4bd3-9cd9-7e9a1493d637 ${ns_id} Logs the given message with the given level. 3015dc87-8879-4bd3-9cd9-7e9a1493d637 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 20733a40-036e-4f55-b422-b43ff77d4ee3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 319f0706-1275-4aa8-86e7-543aff470942 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 20733a40-036e-4f55-b422-b43ff77d4ee3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 319f0706-1275-4aa8-86e7-543aff470942 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 20733a40-036e-4f55-b422-b43ff77d4ee3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 319f0706-1275-4aa8-86e7-543aff470942 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 20733a40-036e-4f55-b422-b43ff77d4ee3 | epa_04-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | | | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | BUILDING | INSTANTIATING (4e8a162d-c4f0-4a4f-a8ec-91e13db27d0a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16:00 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | d8f1feb2-10c8-4480-8a23-d952bc0bf820 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.197 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 1a0feb2f-5d58-420f-9a17-05dc324765df | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | c75adcff-034a-457f-9759-07d091182fa1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_02 | 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | 2024-04-11T02:16: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} = 3015dc87-8879-4bd3-9cd9-7e9a1493d637 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 3015dc87-8879-4bd3-9cd9-7e9a1493d637 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 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e344aeb3-c20b-469c-9a58-a007a89766fc ${stdout} Logs the given message with the given level. e344aeb3-c20b-469c-9a58-a007a89766fc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = e344aeb3-c20b-469c-9a58-a007a89766fc ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = e344aeb3-c20b-469c-9a58-a007a89766fc @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_02-charm_vnf-mgmtVM-0 heal_02-charm_vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 ] @{vdur_list} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 ${ns_name} ${vnf_charm_index} ${vnf_charm_scaling_group} SCALE_OUT ${scale_wait_time} Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 240.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 240.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_02 charm_vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_02 charm_vnf 2>&1'. ${rc} = 0 ${stdout} = 25c46975-feaa-49de-bf88-69ac0fdb71ec ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 25c46975-feaa-49de-bf88-69ac0fdb71ec ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 25c46975-feaa-49de-bf88-69ac0fdb71ec --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_02-charm_vnf-mgmtVM-0 heal_02-charm_vnf-mgmtVM-1 heal_02-charm_vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 | heal_02-charm_vnf-mgmtVM-2 ] @{vdur_list} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 | heal_02-charm_vnf-mgmtVM-2 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | f18f3380-b511-4188-b111-4397f00487f8 e344aeb3-c20b-469c-9a58-a007a89766fc ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ f18f3380-b511-4188-b111-4397f00487f8 | e344aeb3-c20b-469c-9a58-a007a89766fc ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: f18f3380-b511-4188-b111-4397f00487f8 1: e344aeb3-c20b-469c-9a58-a007a89766fc @{vnf_id_list} = [ f18f3380-b511-4188-b111-4397f00487f8 | e344aeb3-c20b-469c-9a58-a007a89766fc ] ${vnf_id_list} Logs the given message with the given level. ['f18f3380-b511-4188-b111-4397f00487f8', 'e344aeb3-c20b-469c-9a58-a007a89766fc'] ${vnf_id} @{vnf_id_list} f18f3380-b511-4188-b111-4397f00487f8 ${vnf_id} Logs the given message with the given level. f18f3380-b511-4188-b111-4397f00487f8 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show f18f3380-b511-4188-b111-4397f00487f8 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${stdout} Logs the given message with the given level. 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 092cd67c-9c4d-4087-94ec-e89d9cd61871 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 092cd67c-9c4d-4087-94ec-e89d9cd61871 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. e344aeb3-c20b-469c-9a58-a007a89766fc ${vnf_id} Logs the given message with the given level. e344aeb3-c20b-469c-9a58-a007a89766fc ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 ${stdout} Logs the given message with the given level. 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 115ba879-7e75-4b52-b151-6cf93ab0955e | 1a0feb2f-5d58-420f-9a17-05dc324765df | 06eda059-b479-4001-b823-f20dd3fae8a0 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${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 092cd67c-9c4d-4087-94ec-e89d9cd61871 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${stdout} Logs the given message with the given level. [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['76ebf32e-6030-4539-9d4b-93af3c9252be'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 115ba879-7e75-4b52-b151-6cf93ab0955e ${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 115ba879-7e75-4b52-b151-6cf93ab0955e -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``. 1a0feb2f-5d58-420f-9a17-05dc324765df ${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 1a0feb2f-5d58-420f-9a17-05dc324765df -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``. 06eda059-b479-4001-b823-f20dd3fae8a0 ${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 06eda059-b479-4001-b823-f20dd3fae8a0 -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. 092cd67c-9c4d-4087-94ec-e89d9cd61871 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 76ebf32e-6030-4539-9d4b-93af3c9252be cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${vnf_id} ${ns_id} ${vnf_charm_index} ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 ${stdout} Logs the given message with the given level. 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 115ba879-7e75-4b52-b151-6cf93ab0955e | 1a0feb2f-5d58-420f-9a17-05dc324765df | 06eda059-b479-4001-b823-f20dd3fae8a0 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 115ba879-7e75-4b52-b151-6cf93ab0955e | 1a0feb2f-5d58-420f-9a17-05dc324765df | 06eda059-b479-4001-b823-f20dd3fae8a0 ] ${vdu_charm_ids}[1] Logs the given message with the given level. 1a0feb2f-5d58-420f-9a17-05dc324765df @{charm_ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.179 192.168.124.115 172.21.248.74 192.168.124.90 172.21.248.84 192.168.124.66 ${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.179 | 192.168.124.115 | 172.21.248.74 | 192.168.124.90 | 172.21.248.84 | 192.168.124.66 ] @{charm_ip_list} = [ 172.21.248.179 | 192.168.124.115 | 172.21.248.74 | 192.168.124.90 | 172.21.248.84 | 192.168.124.66 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.248.179 | 192.168.124.115 | 172.21.248.74 | 192.168.124.90 | 172.21.248.84 | 192.168.124.66 ] 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 1a0feb2f-5d58-420f-9a17-05dc324765df 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 3015dc87-8879-4bd3-9cd9-7e9a1493d637 --vnf e344aeb3-c20b-469c-9a58-a007a89766fc --cause "Heal VM of charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 2>&1'. ${rc} = 0 ${stdout} = f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f8b72d36-8e7e-4ec5-a8cf-061aa7db754e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f8b72d36-8e7e-4ec5-a8cf-061aa7db754e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_02 ${vnf_charm_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.179 192.168.124.115 172.21.248.74 192.168.124.90 172.21.248.84 192.168.124.66 ${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.179 | 192.168.124.115 | 172.21.248.74 | 192.168.124.90 | 172.21.248.84 | 192.168.124.66 ] @{ip_list} = [ 172.21.248.179 | 192.168.124.115 | 172.21.248.74 | 192.168.124.90 | 172.21.248.84 | 192.168.124.66 ] ${ip_list} ${charm_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 ${stdout} Logs the given message with the given level. 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 115ba879-7e75-4b52-b151-6cf93ab0955e | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | 06eda059-b479-4001-b823-f20dd3fae8a0 ] ${vdu_charm_ids}[0] ${ids}[0] VDU[0] id has changed after healing Fails if the given objects are unequal. ${vdu_charm_ids}[1] ${ids}[1] VDU[1] id has not changed after healing Fails if the given objects are equal. ${vdu_charm_ids}[2] ${ids}[2] VDU[2] id has changed after healing Fails if the given objects are unequal. ${ip} ${vnf_charm_id} ip-address 1 Return an attribute from VDU records selected by count_index of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${attribute} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == ${count_index})' | yq '."${attribute}"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.74 ${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.74 ${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.74: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. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.74: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. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 02:28:04 2024 from 172.21.249.4 ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 3015dc87-8879-4bd3-9cd9-7e9a1493d637 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | f18f3380-b511-4188-b111-4397f00487f8 e344aeb3-c20b-469c-9a58-a007a89766fc ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ f18f3380-b511-4188-b111-4397f00487f8 | e344aeb3-c20b-469c-9a58-a007a89766fc ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: f18f3380-b511-4188-b111-4397f00487f8 1: e344aeb3-c20b-469c-9a58-a007a89766fc @{vnf_id_list} = [ f18f3380-b511-4188-b111-4397f00487f8 | e344aeb3-c20b-469c-9a58-a007a89766fc ] ${vnf_id} @{vnf_id_list} f18f3380-b511-4188-b111-4397f00487f8 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show f18f3380-b511-4188-b111-4397f00487f8 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${stdout} Logs the given message with the given level. 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 092cd67c-9c4d-4087-94ec-e89d9cd61871 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 092cd67c-9c4d-4087-94ec-e89d9cd61871 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. e344aeb3-c20b-469c-9a58-a007a89766fc ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e344aeb3-c20b-469c-9a58-a007a89766fc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 ${stdout} Logs the given message with the given level. 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 115ba879-7e75-4b52-b151-6cf93ab0955e ff841a02-11dc-499a-8a0c-47ba8a4d02e5 06eda059-b479-4001-b823-f20dd3fae8a0 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 115ba879-7e75-4b52-b151-6cf93ab0955e | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | 06eda059-b479-4001-b823-f20dd3fae8a0 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 115ba879-7e75-4b52-b151-6cf93ab0955e ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ff841a02-11dc-499a-8a0c-47ba8a4d02e5 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 06eda059-b479-4001-b823-f20dd3fae8a0 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 092cd67c-9c4d-4087-94ec-e89d9cd61871 ${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 092cd67c-9c4d-4087-94ec-e89d9cd61871 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${stdout} Logs the given message with the given level. [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '76ebf32e-6030-4539-9d4b-93af3c9252be'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['76ebf32e-6030-4539-9d4b-93af3c9252be'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 115ba879-7e75-4b52-b151-6cf93ab0955e ${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 115ba879-7e75-4b52-b151-6cf93ab0955e -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``. ff841a02-11dc-499a-8a0c-47ba8a4d02e5 ${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 ff841a02-11dc-499a-8a0c-47ba8a4d02e5 -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``. 06eda059-b479-4001-b823-f20dd3fae8a0 ${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 06eda059-b479-4001-b823-f20dd3fae8a0 -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. 092cd67c-9c4d-4087-94ec-e89d9cd61871 115ba879-7e75-4b52-b151-6cf93ab0955e 1a0feb2f-5d58-420f-9a17-05dc324765df 06eda059-b479-4001-b823-f20dd3fae8a0 ff841a02-11dc-499a-8a0c-47ba8a4d02e5 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 76ebf32e-6030-4539-9d4b-93af3c9252be 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+---------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+---------------------------+ | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | BUILD | | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.72; sa_08-vnf_with_v-external=192.168.115.99; sa_08-vnf_with_v-internal=192.168.99.153 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.72; sa_08-vnf_with_v-external=192.168.115.99; sa_08-vnf_with_v-internal=192.168.99.153 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.72; sa_08-vnf_with_v-external=192.168.115.99; sa_08-vnf_with_v-internal=192.168.99.153 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.72; sa_08-vnf_with_v-external=192.168.115.99; sa_08-vnf_with_v-internal=192.168.99.153 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 1a9e50bf-c099-4647-8555-69ce4c541bb5 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.72; sa_08-vnf_with_v-external=192.168.115.99; sa_08-vnf_with_v-internal=192.168.99.153 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.124.90; osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.124.66; osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.124.115; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 092cd67c-9c4d-4087-94ec-e89d9cd61871 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.193 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 22d63833-b6aa-45db-9094-e76eebbeb748 | heal_01-several_volumes_-several_volumes-VM-0 | DELETED | | ubuntu20.04 | several_volumes-VM-flv | | ff841a02-11dc-499a-8a0c-47ba8a4d02e5 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.74 | ubuntu18.04 | simple_requires-1-1-flv | | 06eda059-b479-4001-b823-f20dd3fae8a0 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.84 | ubuntu18.04 | simple_requires-1-1-flv | | 115ba879-7e75-4b52-b151-6cf93ab0955e | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} 76ebf32e-6030-4539-9d4b-93af3c9252be Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 76ebf32e-6030-4539-9d4b-93af3c9252be 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 76ebf32e-6030-4539-9d4b-93af3c9252be | 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} 092cd67c-9c4d-4087-94ec-e89d9cd61871 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 092cd67c-9c4d-4087-94ec-e89d9cd61871 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 092cd67c-9c4d-4087-94ec-e89d9cd61871 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '092cd67c-9c4d-4087-94ec-e89d9cd61871' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '092cd67c-9c4d-4087-94ec-e89d9cd61871' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 115ba879-7e75-4b52-b151-6cf93ab0955e Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 115ba879-7e75-4b52-b151-6cf93ab0955e 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 115ba879-7e75-4b52-b151-6cf93ab0955e -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '115ba879-7e75-4b52-b151-6cf93ab0955e' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '115ba879-7e75-4b52-b151-6cf93ab0955e' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 1a0feb2f-5d58-420f-9a17-05dc324765df Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 1a0feb2f-5d58-420f-9a17-05dc324765df 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 1a0feb2f-5d58-420f-9a17-05dc324765df -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '1a0feb2f-5d58-420f-9a17-05dc324765df' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '1a0feb2f-5d58-420f-9a17-05dc324765df' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 06eda059-b479-4001-b823-f20dd3fae8a0 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 06eda059-b479-4001-b823-f20dd3fae8a0 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 06eda059-b479-4001-b823-f20dd3fae8a0 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '06eda059-b479-4001-b823-f20dd3fae8a0' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '06eda059-b479-4001-b823-f20dd3fae8a0' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. ff841a02-11dc-499a-8a0c-47ba8a4d02e5 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server ff841a02-11dc-499a-8a0c-47ba8a4d02e5 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 ff841a02-11dc-499a-8a0c-47ba8a4d02e5 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'ff841a02-11dc-499a-8a0c-47ba8a4d02e5' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'ff841a02-11dc-499a-8a0c-47ba8a4d02e5' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_02 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Objects in VIM Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-02] Healing of scaled charm VDUs '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz a6a9c20f-8a75-4f21-adb7-bd417d8b9b33 ${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} = a6a9c20f-8a75-4f21-adb7-bd417d8b9b33 '%{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 10bf21b5-7342-4a99-86d4-ee5527d617c7 ${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} = 10bf21b5-7342-4a99-86d4-ee5527d617c7 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 d831fb62-70e0-4182-a5c1-b5fc7a9b0b92 ${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} = d831fb62-70e0-4182-a5c1-b5fc7a9b0b92 cluster_heal daily heal_03 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_03 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 3fe46b78-85c0-41b2-95e7-5d993e96dd42 ${stdout} Logs the given message with the given level. 3fe46b78-85c0-41b2-95e7-5d993e96dd42 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3fe46b78-85c0-41b2-95e7-5d993e96dd42 ${ns_id} Logs the given message with the given level. 3fe46b78-85c0-41b2-95e7-5d993e96dd42 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | b2b5300b-e6c0-42bd-9ad7-9290fd6edd96 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.248 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | b2b5300b-e6c0-42bd-9ad7-9290fd6edd96 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.22.160; osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.22.131; osm-ext=172.21.248.42 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.248 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | b2b5300b-e6c0-42bd-9ad7-9290fd6edd96 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.16 | ubuntu20.04 | several_volumes-VM-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 0177c711-9667-4a34-a415-8eb720a98ec5 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | simple_requires-1-1-flv | | ad87f64d-9fb4-452d-87cb-cd626be42bde | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.248 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.248 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 54ab4853-3c70-41ec-ba2f-e8389b17cc04 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.198.4; osm-ext=172.21.249.249 | ubuntu18.04 | osm.heal02_040090 | | 6513ebc6-f798-41e1-b15d-42ad3737e658 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.198.26; osm-ext=172.21.248.54 | ubuntu18.04 | osm.heal02_040090 | | 723cdc7d-0471-4cac-b8d0-b10537cc105f | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | several_volumes-VM-flv | | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.248 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.13.146, 192.168.31.184 | ubuntu18.04 | simple_requires-1-1-flv | | 90708b41-b202-4bf0-b2f0-fbb66aa104b2 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.247; slicebasic.slice-nsd_vnfd_vld_dat=192.168.31.100 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 54ab4853-3c70-41ec-ba2f-e8389b17cc04 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.198.4; osm-ext=172.21.249.249 | ubuntu18.04 | osm.heal02_040090 | | 6513ebc6-f798-41e1-b15d-42ad3737e658 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.198.26; osm-ext=172.21.248.54 | ubuntu18.04 | osm.heal02_040090 | | 723cdc7d-0471-4cac-b8d0-b10537cc105f | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | several_volumes-VM-flv | | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 787261e3-bd42-4214-a9d0-1bebc3fbb728 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148 | ubuntu18.04 | simple_requires-1-1-flv | | 6f9bb813-6e17-4edc-b0e2-9eef9bfd1b47 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | BUILDING | INSTANTIATING (37b8980b-85ca-4c5e-b8d4-aeda30e9ac0f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 968bb3e3-fc63-4adf-b630-de52e87de666 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.198.102; osm-ext=172.21.248.62 | ubuntu18.04 | osm.heal02_040090 | | 54ab4853-3c70-41ec-ba2f-e8389b17cc04 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.198.4; osm-ext=172.21.249.249 | ubuntu18.04 | osm.heal02_040090 | | 6513ebc6-f798-41e1-b15d-42ad3737e658 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.198.26; osm-ext=172.21.248.54 | ubuntu18.04 | osm.heal02_040090 | | 723cdc7d-0471-4cac-b8d0-b10537cc105f | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | several_volumes-VM-flv | | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 968bb3e3-fc63-4adf-b630-de52e87de666 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.198.102; osm-ext=172.21.248.62 | ubuntu18.04 | osm.heal02_040090 | | 54ab4853-3c70-41ec-ba2f-e8389b17cc04 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.198.4; osm-ext=172.21.249.249 | ubuntu18.04 | osm.heal02_040090 | | 6513ebc6-f798-41e1-b15d-42ad3737e658 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.198.26; osm-ext=172.21.248.54 | ubuntu18.04 | osm.heal02_040090 | | 723cdc7d-0471-4cac-b8d0-b10537cc105f | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu20.04 | several_volumes-VM-flv | | a8005b00-bd3a-4ad2-b9ea-0812664612ac | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | de3daeb0-46f5-4587-ab6f-ff22c2643688 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_03 | 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | 2024-04-11T02:31:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 3fe46b78-85c0-41b2-95e7-5d993e96dd42 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 3fe46b78-85c0-41b2-95e7-5d993e96dd42 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 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d71fb98c-68ce-4313-99e9-054fd2255a5b ${stdout} Logs the given message with the given level. d71fb98c-68ce-4313-99e9-054fd2255a5b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = d71fb98c-68ce-4313-99e9-054fd2255a5b ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = d71fb98c-68ce-4313-99e9-054fd2255a5b @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_03-charm_vnf-mgmtVM-0 heal_03-charm_vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 ] @{vdur_list} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 ${ns_name} ${vnf_charm_index} ${vnf_charm_scaling_group} SCALE_OUT ${scale_wait_time} Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 240.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 240.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_03 charm_vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_03 charm_vnf 2>&1'. ${rc} = 0 ${stdout} = 317936c1-3d19-4121-85e2-512fa96ef8d2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 317936c1-3d19-4121-85e2-512fa96ef8d2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 317936c1-3d19-4121-85e2-512fa96ef8d2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_03-charm_vnf-mgmtVM-0 heal_03-charm_vnf-mgmtVM-1 heal_03-charm_vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 | heal_03-charm_vnf-mgmtVM-2 ] @{vdur_list} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 | heal_03-charm_vnf-mgmtVM-2 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 718ffd2d-864a-4d4b-97c6-a4874d253480 d71fb98c-68ce-4313-99e9-054fd2255a5b ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 718ffd2d-864a-4d4b-97c6-a4874d253480 | d71fb98c-68ce-4313-99e9-054fd2255a5b ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 718ffd2d-864a-4d4b-97c6-a4874d253480 1: d71fb98c-68ce-4313-99e9-054fd2255a5b @{vnf_id_list} = [ 718ffd2d-864a-4d4b-97c6-a4874d253480 | d71fb98c-68ce-4313-99e9-054fd2255a5b ] ${vnf_id_list} Logs the given message with the given level. ['718ffd2d-864a-4d4b-97c6-a4874d253480', 'd71fb98c-68ce-4313-99e9-054fd2255a5b'] ${vnf_id} @{vnf_id_list} 718ffd2d-864a-4d4b-97c6-a4874d253480 ${vnf_id} Logs the given message with the given level. 718ffd2d-864a-4d4b-97c6-a4874d253480 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 718ffd2d-864a-4d4b-97c6-a4874d253480 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = de3daeb0-46f5-4587-ab6f-ff22c2643688 ${stdout} Logs the given message with the given level. de3daeb0-46f5-4587-ab6f-ff22c2643688 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = de3daeb0-46f5-4587-ab6f-ff22c2643688 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ de3daeb0-46f5-4587-ab6f-ff22c2643688 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. d71fb98c-68ce-4313-99e9-054fd2255a5b ${vnf_id} Logs the given message with the given level. d71fb98c-68ce-4313-99e9-054fd2255a5b ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 ${stdout} Logs the given message with the given level. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | a8005b00-bd3a-4ad2-b9ea-0812664612ac | abb20dca-c277-4d7b-8fe2-48739cca6986 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} de3daeb0-46f5-4587-ab6f-ff22c2643688 ${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 de3daeb0-46f5-4587-ab6f-ff22c2643688 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${stdout} Logs the given message with the given level. [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['2a75410e-91e0-4ccd-a30c-42b6ab67788e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 ${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 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 -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``. a8005b00-bd3a-4ad2-b9ea-0812664612ac ${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 a8005b00-bd3a-4ad2-b9ea-0812664612ac -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``. abb20dca-c277-4d7b-8fe2-48739cca6986 ${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 abb20dca-c277-4d7b-8fe2-48739cca6986 -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. de3daeb0-46f5-4587-ab6f-ff22c2643688 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 2a75410e-91e0-4ccd-a30c-42b6ab67788e cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${vnf_id} ${ns_id} ${vnf_charm_index} ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 ${stdout} Logs the given message with the given level. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | a8005b00-bd3a-4ad2-b9ea-0812664612ac | abb20dca-c277-4d7b-8fe2-48739cca6986 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | a8005b00-bd3a-4ad2-b9ea-0812664612ac | abb20dca-c277-4d7b-8fe2-48739cca6986 ] ${vdu_charm_ids}[1] Logs the given message with the given level. a8005b00-bd3a-4ad2-b9ea-0812664612ac @{charm_ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.183 192.168.106.157 172.21.249.128 192.168.106.82 172.21.249.20 192.168.106.168 ${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.183 | 192.168.106.157 | 172.21.249.128 | 192.168.106.82 | 172.21.249.20 | 192.168.106.168 ] @{charm_ip_list} = [ 172.21.249.183 | 192.168.106.157 | 172.21.249.128 | 192.168.106.82 | 172.21.249.20 | 192.168.106.168 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.249.183 | 192.168.106.157 | 172.21.249.128 | 192.168.106.82 | 172.21.249.20 | 192.168.106.168 ] 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 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.70 ${stdout} Logs the given message with the given level. 172.21.248.70 ${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.70 ${ip_addr} Logs the given message with the given level. 172.21.248.70 ${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.70 ${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 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 718ffd2d-864a-4d4b-97c6-a4874d253480 ${stdout} Logs the given message with the given level. 718ffd2d-864a-4d4b-97c6-a4874d253480 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 718ffd2d-864a-4d4b-97c6-a4874d253480 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = 718ffd2d-864a-4d4b-97c6-a4874d253480 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 718ffd2d-864a-4d4b-97c6-a4874d253480 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = de3daeb0-46f5-4587-ab6f-ff22c2643688 ${stdout} Logs the given message with the given level. de3daeb0-46f5-4587-ab6f-ff22c2643688 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = de3daeb0-46f5-4587-ab6f-ff22c2643688 ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = de3daeb0-46f5-4587-ab6f-ff22c2643688 ${vdu_volumes_id} Logs the given message with the given level. de3daeb0-46f5-4587-ab6f-ff22c2643688 @{volumes_ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 718ffd2d-864a-4d4b-97c6-a4874d253480 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.70 ${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.70 ] @{volumes_ip_list} = [ 172.21.248.70 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.248.70 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.248.70 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 a8005b00-bd3a-4ad2-b9ea-0812664612ac 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 abb20dca-c277-4d7b-8fe2-48739cca6986 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 de3daeb0-46f5-4587-ab6f-ff22c2643688 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 3fe46b78-85c0-41b2-95e7-5d993e96dd42 --vnf 718ffd2d-864a-4d4b-97c6-a4874d253480 --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf d71fb98c-68ce-4313-99e9-054fd2255a5b --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} = 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 87b02c53-416a-4c8b-8fba-0cef9807dcf7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 87b02c53-416a-4c8b-8fba-0cef9807dcf7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_03 ${vnf_charm_id} msg=Charm VNF is not available Fails unless the given variable exists within the current scope. ${vnf_volumes_id} msg=Volume VNF is not available Fails unless the given variable exists within the current scope. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 ${stdout} Logs the given message with the given level. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | 36344fbf-d430-43fb-b670-cdd9610721e4 | be0f7648-86d7-4689-b8a6-58e53b356296 ] ${vdu_charm_ids}[0] ${ids}[0] VDU[0] id has changed after healing Fails if the given objects are unequal. ${vdu_charm_ids}[1] ${ids}[1] VDU[1] id has not changed after healing Fails if the given objects are equal. ${vdu_charm_ids}[2] ${ids}[2] VDU[2] id has not changed after healing Fails if the given objects are equal. ${id} ${vnf_volumes_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 718ffd2d-864a-4d4b-97c6-a4874d253480 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b2991019-04bc-4afe-ae53-8418853b4feb ${stdout} Logs the given message with the given level. b2991019-04bc-4afe-ae53-8418853b4feb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = b2991019-04bc-4afe-ae53-8418853b4feb ${id} ${vdu_volumes_id} VDU id has not changed after healing Fails if the given objects are equal. ${ip} ${vnf_charm_id} ip-address 1 Return an attribute from VDU records selected by count_index of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${attribute} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == ${count_index})' | yq '."${attribute}"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.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'> ${ip} = 172.21.249.128 ${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.249.128:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 02:43:58 UTC 2024 System load: 0.8 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.128 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.128:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Apr 11 02:44:01 UTC 2024 System load: 0.8 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.128 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 02:43:59 2024 from 172.21.249.4 ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 3fe46b78-85c0-41b2-95e7-5d993e96dd42 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 718ffd2d-864a-4d4b-97c6-a4874d253480 d71fb98c-68ce-4313-99e9-054fd2255a5b ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 718ffd2d-864a-4d4b-97c6-a4874d253480 | d71fb98c-68ce-4313-99e9-054fd2255a5b ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 718ffd2d-864a-4d4b-97c6-a4874d253480 1: d71fb98c-68ce-4313-99e9-054fd2255a5b @{vnf_id_list} = [ 718ffd2d-864a-4d4b-97c6-a4874d253480 | d71fb98c-68ce-4313-99e9-054fd2255a5b ] ${vnf_id} @{vnf_id_list} 718ffd2d-864a-4d4b-97c6-a4874d253480 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 718ffd2d-864a-4d4b-97c6-a4874d253480 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b2991019-04bc-4afe-ae53-8418853b4feb ${stdout} Logs the given message with the given level. b2991019-04bc-4afe-ae53-8418853b4feb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = b2991019-04bc-4afe-ae53-8418853b4feb @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ b2991019-04bc-4afe-ae53-8418853b4feb ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} b2991019-04bc-4afe-ae53-8418853b4feb ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. d71fb98c-68ce-4313-99e9-054fd2255a5b ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show d71fb98c-68ce-4313-99e9-054fd2255a5b --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 ${stdout} Logs the given message with the given level. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | 36344fbf-d430-43fb-b670-cdd9610721e4 | be0f7648-86d7-4689-b8a6-58e53b356296 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 36344fbf-d430-43fb-b670-cdd9610721e4 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. be0f7648-86d7-4689-b8a6-58e53b356296 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} b2991019-04bc-4afe-ae53-8418853b4feb ${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 b2991019-04bc-4afe-ae53-8418853b4feb -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${stdout} Logs the given message with the given level. [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '2a75410e-91e0-4ccd-a30c-42b6ab67788e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['2a75410e-91e0-4ccd-a30c-42b6ab67788e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 ${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 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 -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``. 36344fbf-d430-43fb-b670-cdd9610721e4 ${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 36344fbf-d430-43fb-b670-cdd9610721e4 -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``. be0f7648-86d7-4689-b8a6-58e53b356296 ${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 be0f7648-86d7-4689-b8a6-58e53b356296 -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. de3daeb0-46f5-4587-ab6f-ff22c2643688 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 a8005b00-bd3a-4ad2-b9ea-0812664612ac abb20dca-c277-4d7b-8fe2-48739cca6986 b2991019-04bc-4afe-ae53-8418853b4feb 36344fbf-d430-43fb-b670-cdd9610721e4 be0f7648-86d7-4689-b8a6-58e53b356296 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 2a75410e-91e0-4ccd-a30c-42b6ab67788e cluster_heal daily heal_03 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.106.168; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.106.82; osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.106.157; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | be0f7648-86d7-4689-b8a6-58e53b356296 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 36344fbf-d430-43fb-b670-cdd9610721e4 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.128 | ubuntu18.04 | simple_requires-1-1-flv | | b2991019-04bc-4afe-ae53-8418853b4feb | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu20.04 | several_volumes-VM-flv | | 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} 2a75410e-91e0-4ccd-a30c-42b6ab67788e Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 2a75410e-91e0-4ccd-a30c-42b6ab67788e 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 2a75410e-91e0-4ccd-a30c-42b6ab67788e | 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} de3daeb0-46f5-4587-ab6f-ff22c2643688 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server de3daeb0-46f5-4587-ab6f-ff22c2643688 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 de3daeb0-46f5-4587-ab6f-ff22c2643688 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'de3daeb0-46f5-4587-ab6f-ff22c2643688' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'de3daeb0-46f5-4587-ab6f-ff22c2643688' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 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 31436e2e-3cc9-4b19-93b6-1ccfc882ca94 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '31436e2e-3cc9-4b19-93b6-1ccfc882ca94' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '31436e2e-3cc9-4b19-93b6-1ccfc882ca94' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. a8005b00-bd3a-4ad2-b9ea-0812664612ac Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server a8005b00-bd3a-4ad2-b9ea-0812664612ac 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 a8005b00-bd3a-4ad2-b9ea-0812664612ac -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'a8005b00-bd3a-4ad2-b9ea-0812664612ac' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'a8005b00-bd3a-4ad2-b9ea-0812664612ac' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. abb20dca-c277-4d7b-8fe2-48739cca6986 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server abb20dca-c277-4d7b-8fe2-48739cca6986 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 abb20dca-c277-4d7b-8fe2-48739cca6986 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'abb20dca-c277-4d7b-8fe2-48739cca6986' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'abb20dca-c277-4d7b-8fe2-48739cca6986' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. b2991019-04bc-4afe-ae53-8418853b4feb Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server b2991019-04bc-4afe-ae53-8418853b4feb 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 b2991019-04bc-4afe-ae53-8418853b4feb -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'b2991019-04bc-4afe-ae53-8418853b4feb' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'b2991019-04bc-4afe-ae53-8418853b4feb' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 36344fbf-d430-43fb-b670-cdd9610721e4 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 36344fbf-d430-43fb-b670-cdd9610721e4 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 36344fbf-d430-43fb-b670-cdd9610721e4 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '36344fbf-d430-43fb-b670-cdd9610721e4' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '36344fbf-d430-43fb-b670-cdd9610721e4' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. be0f7648-86d7-4689-b8a6-58e53b356296 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server be0f7648-86d7-4689-b8a6-58e53b356296 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 be0f7648-86d7-4689-b8a6-58e53b356296 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'be0f7648-86d7-4689-b8a6-58e53b356296' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'be0f7648-86d7-4689-b8a6-58e53b356296' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_03 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-03] Healing of multiple VDUs '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/autoheal_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/autoheal_vnf Validation OK List of charms in the descriptor: set() Adding File: autoheal_vnf Package created: /robot-systest/osm-packages/autoheal_vnf.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/autoheal_vnf Validation OK List of charms in the descriptor: set() Adding File: autoheal_vnf Package created: /robot-systest/osm-packages/autoheal_vnf.tar.gz Uploading package /robot-systest/osm-packages/autoheal_vnf.tar.gz 83c00b33-a2c0-4313-bd11-1b889d5f8301 ${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} = 83c00b33-a2c0-4313-bd11-1b889d5f8301 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 93953ed9-fe4f-47d4-9751-251ebe69c2dc ${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} = 93953ed9-fe4f-47d4-9751-251ebe69c2dc 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} = 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 ${stdout} Logs the given message with the given level. 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 ${ns_id} Logs the given message with the given level. 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_04 | 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 2024-04-11T02:47:41 | BUILDING | INSTANTIATING (7345ea1f-6950-49bc-a27e-efc15b3d5c0e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 2024-04-11T02:47:41 | BUILDING | INSTANTIATING (7345ea1f-6950-49bc-a27e-efc15b3d5c0e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.233 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_04 | 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 2024-04-11T02:47:41 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.233 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 0c20666e-9301-47cc-9a48-8e419fd349da | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.85 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | b958b142-6d55-4500-8c2e-c8f8376410d2 | osm-v140-merge-293 | ACTIVE | osm-ext=172.21.248.128 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_04 | 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 2024-04-11T02:47: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} = 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 cluster_heal daily heal_04 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_04 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 482fa47e-9812-445f-9cc8-6eb5f8c69eba @{vnf_id_list} = [ 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] ${vnf_id_list} Logs the given message with the given level. ['482fa47e-9812-445f-9cc8-6eb5f8c69eba'] ${vnf_id} @{vnf_id_list} 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${vnf_id} Logs the given message with the given level. 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${stdout} Logs the given message with the given level. 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.233 ${stdout} Logs the given message with the given level. 172.21.249.233 ${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.233 ${ip_addr} Logs the given message with the given level. 172.21.249.233 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.233 ${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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${stdout} Logs the given message with the given level. 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${vnf_autoheal_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_autoheal_id} = 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${stdout} Logs the given message with the given level. 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${vdu_autoheal_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_autoheal_id} = 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 ${vdu_autoheal_id} Logs the given message with the given level. 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 @{autoheal_ip_list} ${vnf_autoheal_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.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'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.233 ] @{autoheal_ip_list} = [ 172.21.249.233 ] @{autoheal_ip_list} @{autoheal_ip_list} Makes a variable available everywhere within the scope of the current suite. @{autoheal_ip_list} = [ 172.21.249.233 ] @{autoheal_ip_list} Logs the given message with the given level. 172.21.249.233 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 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | 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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${stdout} Logs the given message with the given level. 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${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 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${stdout} Logs the given message with the given level. 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${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} = 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27a4e150-f56a-45f3-8739-6b5f2fc9fb99 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_04 ${vnf_autoheal_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_autoheal_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.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'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.233 ] @{ip_list} = [ 172.21.249.233 ] @{ip_list} Logs the given message with the given level. 172.21.249.233 ${ip_list} ${autoheal_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_autoheal_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5862e0ca-3946-45b7-9b6a-6c0142844595 ${stdout} Logs the given message with the given level. 5862e0ca-3946-45b7-9b6a-6c0142844595 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5862e0ca-3946-45b7-9b6a-6c0142844595 ${id} Logs the given message with the given level. 5862e0ca-3946-45b7-9b6a-6c0142844595 ${id} ${vdu_autoheal_id} VDU id has not changed after healing Fails if the given objects are equal. cluster_heal daily heal_04 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 5e5fa3bb-1867-48bc-ab08-1bac8a6cd941 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 482fa47e-9812-445f-9cc8-6eb5f8c69eba @{vnf_id_list} = [ 482fa47e-9812-445f-9cc8-6eb5f8c69eba ] ${vnf_id} @{vnf_id_list} 482fa47e-9812-445f-9cc8-6eb5f8c69eba ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 482fa47e-9812-445f-9cc8-6eb5f8c69eba --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5862e0ca-3946-45b7-9b6a-6c0142844595 ${stdout} Logs the given message with the given level. 5862e0ca-3946-45b7-9b6a-6c0142844595 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5862e0ca-3946-45b7-9b6a-6c0142844595 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 5862e0ca-3946-45b7-9b6a-6c0142844595 ] ${id} @{vdu_ids} 5862e0ca-3946-45b7-9b6a-6c0142844595 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 5862e0ca-3946-45b7-9b6a-6c0142844595 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} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 5862e0ca-3946-45b7-9b6a-6c0142844595 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.233 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep 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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep 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} 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 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 2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '2e5ab28f-7f6d-4a5c-bbf8-f609bb12cd09' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 5862e0ca-3946-45b7-9b6a-6c0142844595 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5862e0ca-3946-45b7-9b6a-6c0142844595 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 5862e0ca-3946-45b7-9b6a-6c0142844595 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '5862e0ca-3946-45b7-9b6a-6c0142844595' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '5862e0ca-3946-45b7-9b6a-6c0142844595' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_04 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-04] Autohealing of NS %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s02 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 415ca8d2-b538-45ff-bc60-e14a24ae677a ${stdout} Logs the given message with the given level. 415ca8d2-b538-45ff-bc60-e14a24ae677a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 415ca8d2-b538-45ff-bc60-e14a24ae677a | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 415ca8d2-b538-45ff-bc60-e14a24ae677a | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s02 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "415ca8d2-b538-45ff-bc60-e14a24ae677a" | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712803965.0161364, | | | "modified": 1712803970.0663552, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712803965.0161705, | | | "statusEnteredTime": 1712803965.0161705, | | | "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": "415ca8d2-b538-45ff-bc60-e14a24ae677a", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "415ca8d2-b538-45ff-bc60-e14a24ae677a", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "415ca8d2-b538-45ff-bc60-e14a24ae677a", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 415ca8d2-b538-45ff-bc60-e14a24ae677a | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 415ca8d2-b538-45ff-bc60-e14a24ae677a | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_02 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s02 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${stdout} Verifies that the given item is empty. Length is 5 'k8s02' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_02 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting K8s Cluster Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-02] K8s cluster addition. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_vnf Package created: /robot-syste... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf.tar.gz 01edbab5-b45f-4097-849e-f0025f241ffa ${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} = 01edbab5-b45f-4097-849e-f0025f241ffa 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 054e34f9-83e3-4165-91bd-b76073fb41f8 ${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} = 054e34f9-83e3-4165-91bd-b76073fb41f8 cluster_k8s daily k8s_03 regression sanity %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s03 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 ${stdout} Logs the given message with the given level. a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s03 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886" | | name | "k8s03" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712804025.695977, | | | "modified": 1712804030.9330335, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712804025.6960063, | | | "statusEnteredTime": 1712804025.6960063, | | | "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": "a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | a7a4ee0a-dbd2-4e6b-95af-b0d368a1e886 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_03 regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name native-k8s --nsd_name native_k8s_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 20b6fda2-cb07-4318-b357-44a82528c02e ${stdout} Logs the given message with the given level. 20b6fda2-cb07-4318-b357-44a82528c02e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 20b6fda2-cb07-4318-b357-44a82528c02e ${ns_id} Logs the given message with the given level. 20b6fda2-cb07-4318-b357-44a82528c02e ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54:23 | BUILDING | INSTANTIATING (5145f2cd-691c-434c-83fd-2247807b4196) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54:23 | BUILDING | INSTANTIATING (5145f2cd-691c-434c-83fd-2247807b4196) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54:23 | BUILDING | INSTANTIATING (5145f2cd-691c-434c-83fd-2247807b4196) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54:23 | BUILDING | INSTANTIATING (5145f2cd-691c-434c-83fd-2247807b4196) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54: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} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 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 | 20b6fda2-cb07-4318-b357-44a82528c02e | 2024-04-11T02:54: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} = 20b6fda2-cb07-4318-b357-44a82528c02e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 20b6fda2-cb07-4318-b357-44a82528c02e 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} = 221861c0-9271-4956-998a-d83fba94a319 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 221861c0-9271-4956-998a-d83fba94a319 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 221861c0-9271-4956-998a-d83fba94a319 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 221861c0-9271-4956-998a-d83fba94a319 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 221861c0-9271-4956-998a-d83fba94a319 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 221861c0-9271-4956-998a-d83fba94a319 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} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${stdout} Verifies that the given item is empty. Length is 5 'k8s03' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_03 regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_k8s_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_k8s_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_k8s_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_k8s_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/native_k8s_charm_ns'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = cleanup cluster_k8s daily k8s_03 regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-03] Simple K8s. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/openldap_knf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.tar.gz Uploading package /robot-systest/osm-packages/openldap_knf.tar.gz 6f25c2f9-c17c-4cad-ba62-4c6bf2fdfea9 ${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} = 6f25c2f9-c17c-4cad-ba62-4c6bf2fdfea9 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 85164450-8dc0-4097-a97f-2ee1539105ae ${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} = 85164450-8dc0-4097-a97f-2ee1539105ae cluster_k8s daily k8s_04 prepare regression sanity %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s04 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = b4014060-6dff-4aba-80bd-d49f896eead2 ${stdout} Logs the given message with the given level. b4014060-6dff-4aba-80bd-d49f896eead2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | b4014060-6dff-4aba-80bd-d49f896eead2 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | b4014060-6dff-4aba-80bd-d49f896eead2 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s04 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "b4014060-6dff-4aba-80bd-d49f896eead2" | | name | "k8s04" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712804282.3520591, | | | "modified": 1712804289.0079212, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712804282.3520925, | | | "statusEnteredTime": 1712804282.3520925, | | | "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": "b4014060-6dff-4aba-80bd-d49f896eead2", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "b4014060-6dff-4aba-80bd-d49f896eead2", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "b4014060-6dff-4aba-80bd-d49f896eead2", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | b4014060-6dff-4aba-80bd-d49f896eead2 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | b4014060-6dff-4aba-80bd-d49f896eead2 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_04 prepare regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: Load... ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name ldap --nsd_name openldap_ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: LoadBalancer }, adminPassword: admin}} ] } ] }' 2>&1'. ${rc} = 0 ${stdout} = 552de27b-0894-44b3-8161-78ddfcd36ff8 ${stdout} Logs the given message with the given level. 552de27b-0894-44b3-8161-78ddfcd36ff8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 552de27b-0894-44b3-8161-78ddfcd36ff8 ${ns_id} Logs the given message with the given level. 552de27b-0894-44b3-8161-78ddfcd36ff8 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58:39 | BUILDING | INSTANTIATING (d85b71b4-46c5-44dd-82a1-f747712e352f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58:39 | BUILDING | INSTANTIATING (d85b71b4-46c5-44dd-82a1-f747712e352f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | BUILD | | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58:39 | BUILDING | INSTANTIATING (d85b71b4-46c5-44dd-82a1-f747712e352f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58:39 | BUILDING | INSTANTIATING (d85b71b4-46c5-44dd-82a1-f747712e352f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58: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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 552de27b-0894-44b3-8161-78ddfcd36ff8 | 2024-04-11T02:58: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} = 552de27b-0894-44b3-8161-78ddfcd36ff8 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} = 552de27b-0894-44b3-8161-78ddfcd36ff8 ${stdout} Logs the given message with the given level. 552de27b-0894-44b3-8161-78ddfcd36ff8 ${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} = 552de27b-0894-44b3-8161-78ddfcd36ff8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 552de27b-0894-44b3-8161-78ddfcd36ff8 cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 552de27b-0894-44b3-8161-78ddfcd36ff8 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 ${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} = [ b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 ] @{vnfr_list} = [ b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 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} = 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 84b5ca9b-56cf-46ee-a2a0-a2ec1373842f cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = 3 ${count} = 3 ${count} Logs the given message with the given level. 3 ${count} ${replica_count} Fails if objects are unequal after converting them to integers. cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${rollback_action} ${vnf_member_index} ${kdu_name} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap 2>&1'. ${rc} = 0 ${stdout} = 4e2c1694-9acd-414b-99ad-4a798914fa30 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4e2c1694-9acd-414b-99ad-4a798914fa30 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4e2c1694-9acd-414b-99ad-4a798914fa30 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4e2c1694-9acd-414b-99ad-4a798914fa30 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4e2c1694-9acd-414b-99ad-4a798914fa30 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 4e2c1694-9acd-414b-99ad-4a798914fa30 cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b8c08b76-b6dc-4fdd-9d86-0a279eceb4b6 --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_04 regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s04 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${stdout} Verifies that the given item is empty. Length is 5 'k8s04' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_04 regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-04] Openldap Helm chart. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: k8s_proxy_charm_vnf Package created: /robot-sy... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: k8s_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf.tar.gz bca58e1c-0750-427a-a83a-1f466c4854a3 ${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} = bca58e1c-0750-427a-a83a-1f466c4854a3 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 6067bac9-9599-49df-a9c5-efc06ea447d6 ${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} = 6067bac9-9599-49df-a9c5-efc06ea447d6 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} = 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf ${stdout} Logs the given message with the given level. 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf ${ns_id} Logs the given message with the given level. 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e21beeef-1cee-4b69-85ac-ef2e608b0e98 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.70; osm-ext=172.21.248.237 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad1d774-23e6-47d7-add8-4469720d7dea | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.178; osm-ext=172.21.249.67 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e21beeef-1cee-4b69-85ac-ef2e608b0e98 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.70; osm-ext=172.21.248.237 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad1d774-23e6-47d7-add8-4469720d7dea | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.178; osm-ext=172.21.249.67 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02:12 | BUILDING | INSTANTIATING (0718deef-f7ba-404e-a464-f69b1173f125) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e21beeef-1cee-4b69-85ac-ef2e608b0e98 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.70; osm-ext=172.21.248.237 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad1d774-23e6-47d7-add8-4469720d7dea | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.178; osm-ext=172.21.249.67 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02: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} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e21beeef-1cee-4b69-85ac-ef2e608b0e98 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.70; osm-ext=172.21.248.237 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad1d774-23e6-47d7-add8-4469720d7dea | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.178; osm-ext=172.21.249.67 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 2024-04-11T03:02: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} = 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf 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 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | 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_addr_1} = 172.21.249.67 ${ip_addr_1} Logs the given message with the given level. 172.21.249.67 ${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.67 ${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 7bb4453b-a5e0-4bb2-8011-7b49dffa82bf | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.237 ${stdout} Logs the given message with the given level. 172.21.248.237 ${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.237 ${ip_addr_2} Logs the given message with the given level. 172.21.248.237 ${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.237 cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.67:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:04:30 UTC 2024 System load: 0.3 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.67 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.237:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:04:32 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.237 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.67:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:04:33 UTC 2024 System load: 0.3 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.67 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:04: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/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.237:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:04:35 UTC 2024 System load: 0.18 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.237 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:04: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/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} = 5c19e560-03eb-4afb-9a58-ec0f24eca1fc ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5c19e560-03eb-4afb-9a58-ec0f24eca1fc --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5c19e560-03eb-4afb-9a58-ec0f24eca1fc ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5c19e560-03eb-4afb-9a58-ec0f24eca1fc --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5c19e560-03eb-4afb-9a58-ec0f24eca1fc --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 5c19e560-03eb-4afb-9a58-ec0f24eca1fc ${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} = cf818773-3373-4283-8d4c-e2c24f39df6e ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cf818773-3373-4283-8d4c-e2c24f39df6e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id cf818773-3373-4283-8d4c-e2c24f39df6e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cf818773-3373-4283-8d4c-e2c24f39df6e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cf818773-3373-4283-8d4c-e2c24f39df6e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = cf818773-3373-4283-8d4c-e2c24f39df6e Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.67:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:05:17 UTC 2024 System load: 0.14 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.67 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:04:34 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-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.237:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:05:19 UTC 2024 System load: 0.08 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.237 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:04: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@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} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e21beeef-1cee-4b69-85ac-ef2e608b0e98 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.70; osm-ext=172.21.248.237 | ubuntu18.04 | simple_requires-1-1-flv | | 8ad1d774-23e6-47d7-add8-4469720d7dea | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.102.178; osm-ext=172.21.249.67 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 21711360-48ec-49af-bb16-55389f46828c ${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} = 21711360-48ec-49af-bb16-55389f46828c 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 ed9fd5dd-ee1e-402e-8d7a-cd7da3c95f83 ${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} = ed9fd5dd-ee1e-402e-8d7a-cd7da3c95f83 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} = b8c31f3b-a41a-4651-a997-06b73561aed3 ${stdout} Logs the given message with the given level. b8c31f3b-a41a-4651-a997-06b73561aed3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b8c31f3b-a41a-4651-a997-06b73561aed3 ${ns_id} Logs the given message with the given level. b8c31f3b-a41a-4651-a997-06b73561aed3 ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 71c8ee41-e36f-4e7c-9ace-8ebd0af84125 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.107; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 3ded0e34-b059-407b-9400-b69e1a256cfc | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.99; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 71c8ee41-e36f-4e7c-9ace-8ebd0af84125 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.107; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 3ded0e34-b059-407b-9400-b69e1a256cfc | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.99; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | BUILDING | INSTANTIATING (d6857f66-a708-41f9-9526-9a352423df52) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 71c8ee41-e36f-4e7c-9ace-8ebd0af84125 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.107; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 3ded0e34-b059-407b-9400-b69e1a256cfc | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.99; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 71c8ee41-e36f-4e7c-9ace-8ebd0af84125 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.107; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 3ded0e34-b059-407b-9400-b69e1a256cfc | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.99; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_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 | b8c31f3b-a41a-4651-a997-06b73561aed3 | 2024-04-11T03:07:04 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b8c31f3b-a41a-4651-a997-06b73561aed3 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} = b8c31f3b-a41a-4651-a997-06b73561aed3 ${stdout} Logs the given message with the given level. b8c31f3b-a41a-4651-a997-06b73561aed3 ${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} = b8c31f3b-a41a-4651-a997-06b73561aed3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b8c31f3b-a41a-4651-a997-06b73561aed3 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 b8c31f3b-a41a-4651-a997-06b73561aed3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.119 ${stdout} Logs the given message with the given level. 172.21.248.119 ${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.119 ${ip_addr_1} Logs the given message with the given level. 172.21.248.119 ${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.119 ${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 b8c31f3b-a41a-4651-a997-06b73561aed3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.86 ${stdout} Logs the given message with the given level. 172.21.249.86 ${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.86 ${ip_addr_2} Logs the given message with the given level. 172.21.249.86 ${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.86 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.119:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:09:23 UTC 2024 System load: 0.1 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.119 Swap usage: 0% 0 updates can be applied immediately. 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.86:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:09:25 UTC 2024 System load: 0.21 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.86 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.119:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:09:27 UTC 2024 System load: 0.1 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.119 Swap usage: 0% 0 updates can be applied immediately. Last login: Thu Apr 11 03:09: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--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.86:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:09:28 UTC 2024 System load: 0.21 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.86 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:09:25 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index_1} filename=${day_2_file_name_1} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_06-nopasswd_k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = 4909e083-af61-4859-9aee-b1c320a21c64 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4909e083-af61-4859-9aee-b1c320a21c64 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4909e083-af61-4859-9aee-b1c320a21c64 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4909e083-af61-4859-9aee-b1c320a21c64 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4909e083-af61-4859-9aee-b1c320a21c64 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 4909e083-af61-4859-9aee-b1c320a21c64 ${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} = 93ef7500-2fe9-4f5b-adf6-3c0968cc820c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 93ef7500-2fe9-4f5b-adf6-3c0968cc820c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 93ef7500-2fe9-4f5b-adf6-3c0968cc820c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 93ef7500-2fe9-4f5b-adf6-3c0968cc820c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 93ef7500-2fe9-4f5b-adf6-3c0968cc820c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 93ef7500-2fe9-4f5b-adf6-3c0968cc820c 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.119:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:10:10 UTC 2024 System load: 0.13 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.119 Swap usage: 0% 0 updates can be applied immediately. Last login: Thu Apr 11 03:09:27 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.86:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:10:12 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.86 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:09:29 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-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} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 71c8ee41-e36f-4e7c-9ace-8ebd0af84125 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.107; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 3ded0e34-b059-407b-9400-b69e1a256cfc | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.136.99; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | c418e081-2869-48ad-aeb4-5a8f18851a27 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.172 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_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 6dec8010-9918-46bb-a959-6d05bdc51653 ${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} = 6dec8010-9918-46bb-a959-6d05bdc51653 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 584000e1-27f7-4441-bdf5-b4c490ed9fcb ${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} = 584000e1-27f7-4441-bdf5-b4c490ed9fcb 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} = 3ccb77a4-fe34-4f8e-9487-c71843264443 ${stdout} Logs the given message with the given level. 3ccb77a4-fe34-4f8e-9487-c71843264443 ${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} = 3ccb77a4-fe34-4f8e-9487-c71843264443 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} = 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 ${stdout} Logs the given message with the given level. 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 ${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 | 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 | 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 | 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 | 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 | "5e2d1ee7-953a-4690-9efd-9e38bcf484e4" | | 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 | "3ccb77a4-fe34-4f8e-9487-c71843264443" | | nets | { | | | "net1": "null" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712805137.3236802, | | | "modified": 1712805143.360281, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712805137.323716, | | | "statusEnteredTime": 1712805137.323716, | | | "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": "5e2d1ee7-953a-4690-9efd-9e38bcf484e4", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "5e2d1ee7-953a-4690-9efd-9e38bcf484e4", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "5e2d1ee7-953a-4690-9efd-9e38bcf484e4", | | | "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 | 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 | 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 | 5e2d1ee7-953a-4690-9efd-9e38bcf484e4 | 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} = f833c712-3d50-4e7e-b4d0-05182df0ed62 ${stdout} Logs the given message with the given level. f833c712-3d50-4e7e-b4d0-05182df0ed62 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f833c712-3d50-4e7e-b4d0-05182df0ed62 ${ns_id} Logs the given message with the given level. f833c712-3d50-4e7e-b4d0-05182df0ed62 ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12:54 | BUILDING | INSTANTIATING (4ec39533-28c2-4cdf-b0a8-bd160a5c6db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12:54 | BUILDING | INSTANTIATING (4ec39533-28c2-4cdf-b0a8-bd160a5c6db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12:54 | BUILDING | INSTANTIATING (4ec39533-28c2-4cdf-b0a8-bd160a5c6db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12:54 | BUILDING | INSTANTIATING (4ec39533-28c2-4cdf-b0a8-bd160a5c6db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12: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 | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | f833c712-3d50-4e7e-b4d0-05182df0ed62 | 2024-04-11T03:12: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} = f833c712-3d50-4e7e-b4d0-05182df0ed62 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f833c712-3d50-4e7e-b4d0-05182df0ed62 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 | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s07 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 0 ${stdout} = k8s07 ${stdout} Verifies that the given item is empty. Length is 5 'k8s07' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_07 regression ${vim_name} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete k8s07_dummy 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep k8s07_dummy 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance, cluster and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VIM Target ${vim_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-07] Openldap Helm in isolated cluster with dummy VIM. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_vnf Package created: ... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf.tar.gz 238a9db0-b119-4db2-b6af-ea774e1fed2f ${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} = 238a9db0-b119-4db2-b6af-ea774e1fed2f 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 f11f7598-8baf-490f-9be0-e2df6b61ddab ${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} = f11f7598-8baf-490f-9be0-e2df6b61ddab cluster_k8s daily k8s_08 regression %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s08 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 75f2395f-da48-4b4f-a609-7c8dad815e7d ${stdout} Logs the given message with the given level. 75f2395f-da48-4b4f-a609-7c8dad815e7d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | 75f2395f-da48-4b4f-a609-7c8dad815e7d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | 75f2395f-da48-4b4f-a609-7c8dad815e7d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s08 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "75f2395f-da48-4b4f-a609-7c8dad815e7d" | | name | "k8s08" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712805301.4463665, | | | "modified": 1712805306.9357357, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712805301.446404, | | | "statusEnteredTime": 1712805301.446404, | | | "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": "75f2395f-da48-4b4f-a609-7c8dad815e7d", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "75f2395f-da48-4b4f-a609-7c8dad815e7d", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "75f2395f-da48-4b4f-a609-7c8dad815e7d", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | 75f2395f-da48-4b4f-a609-7c8dad815e7d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | 75f2395f-da48-4b4f-a609-7c8dad815e7d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_08 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name native-k8s-scale --nsd_name native_k8s_scale_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = b75fc705-9286-4592-a1ce-c988c5041f3c ${stdout} Logs the given message with the given level. b75fc705-9286-4592-a1ce-c988c5041f3c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b75fc705-9286-4592-a1ce-c988c5041f3c ${ns_id} Logs the given message with the given level. b75fc705-9286-4592-a1ce-c988c5041f3c ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | BUILDING | INSTANTIATING (911af340-7794-431a-9050-d7355ee3537a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | BUILDING | INSTANTIATING (911af340-7794-431a-9050-d7355ee3537a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | BUILDING | INSTANTIATING (911af340-7794-431a-9050-d7355ee3537a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | BUILDING | INSTANTIATING (911af340-7794-431a-9050-d7355ee3537a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | c456361c-ebbf-4d0a-a01d-3d9d646f8ab6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.31 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s-scale | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | c456361c-ebbf-4d0a-a01d-3d9d646f8ab6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.31 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s-scale | b75fc705-9286-4592-a1ce-c988c5041f3c | 2024-04-11T03:15:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b75fc705-9286-4592-a1ce-c988c5041f3c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b75fc705-9286-4592-a1ce-c988c5041f3c 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.36 ${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.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:16:51 UTC 2024 System load: 0.72 Users logged in: 0 Usage of /: 23.3% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.36 Processes: 393 IPv4 address for lxdbr0: 10.99.48.1 216 updates can be applied immediately. 161 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 00:38:31 2024 from 172.21.249.4 ubuntu@osm-v120-merge-710:~$ ${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 b75fc705-9286-4592-a1ce-c988c5041f3c | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c 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-b75fc705-9286-4592-a1ce-c988c5041f3c ${stdout} Logs the given message with the given level. native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c ${model_name} ${kdu_name}-${ns_id} Returns the given values which can then be assigned to a variables. ${model_name} = native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c ${model_name} ${stdout} Fails if objects are unequal after converting them to strings. ${name} = native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c ${model_name} ${name} Makes a variable available everywhere within the scope of the current suite. ${model_name} = native-kdu-b75fc705-9286-4592-a1ce-c988c5041f3c 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.36 ${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.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:16:53 UTC 2024 System load: 0.66 Users logged in: 0 Usage of /: 23.3% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 30% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.36 Processes: 404 IPv4 address for lxdbr0: 10.99.48.1 216 updates can be applied immediately. 161 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 03:16:52 2024 from 172.21.249.4 ubuntu@osm-v120-merge-710:~$ ${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-b75fc705-9286-4592-a1ce-c988c5041f3c | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 1 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${kdu_count} = 1 ${initial_kdu_count} ${kdu_count} Makes a variable available everywhere within the scope of the current suite. ${initial_kdu_count} = 1 Get the scale count of the application of network service k8s instance cluster_k8s daily k8s_08 regression ${ns_op_id_2} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-out native-k8s-scale native_k8s_scale_charm-vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group scale-kdu --scale-out native-k8s-scale native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = 186cf4b0-5e36-47eb-9653-586de67d994b ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 186cf4b0-5e36-47eb-9653-586de67d994b --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 186cf4b0-5e36-47eb-9653-586de67d994b ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 186cf4b0-5e36-47eb-9653-586de67d994b --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 186cf4b0-5e36-47eb-9653-586de67d994b ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 186cf4b0-5e36-47eb-9653-586de67d994b --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 186cf4b0-5e36-47eb-9653-586de67d994b ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 186cf4b0-5e36-47eb-9653-586de67d994b --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 186cf4b0-5e36-47eb-9653-586de67d994b --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 186cf4b0-5e36-47eb-9653-586de67d994b 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.36 ${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.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:17:47 UTC 2024 System load: 0.54 Users logged in: 0 Usage of /: 23.3% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.36 Processes: 393 IPv4 address for lxdbr0: 10.99.48.1 216 updates can be applied immediately. 161 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 03:16:54 2024 from 172.21.249.4 ubuntu@osm-v120-merge-710:~$ ${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-b75fc705-9286-4592-a1ce-c988c5041f3c | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 2 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 2 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 2 ${stdout} Logs the given message with the given level. 2 ${kdu_count} = 2 ${kdu_count} != ${initial_kdu_count} + 1 Fail msg=There is no new KDU in the model after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether the scale count is more than one. cluster_k8s daily k8s_08 regression ${ns_op_id_3} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-in native-k8s-scale native_k8s_scale_charm-vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group scale-kdu --scale-in native-k8s-scale native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_3} = 4eb0ebc9-dc39-4907-848c-8ce63b38c8f9 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.36 ${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.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:18:40 UTC 2024 System load: 0.69 Users logged in: 0 Usage of /: 23.3% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.36 Processes: 390 IPv4 address for lxdbr0: 10.99.48.1 216 updates can be applied immediately. 161 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Apr 11 03:17:47 2024 from 172.21.249.4 ubuntu@osm-v120-merge-710:~$ ${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-b75fc705-9286-4592-a1ce-c988c5041f3c | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 1 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${kdu_count} = 1 ${kdu_count} != ${initial_kdu_count} Fail msg=There is the same number of KDU in the model after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether the scale count is one less. cluster_k8s daily k8s_08 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5e361932-ff11-4a6b-aa0a-846949c3ffe5 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 58140953-c7a7-4f03-85f9-1d96bb3087e0 | basic_08_disable-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | fef20283-a19b-4500-9231-8556c253be40 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.229.42; basic_08_disable-internal=192.168.244.80 | ubuntu20.04 | simple_requires-1-1-flv | | 002c4ddb-e3e2-41ac-8d6e-9f82ed58ae76 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.244.169; osm-ext=172.21.248.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5e361932-ff11-4a6b-aa0a-846949c3ffe5 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.229.37; basic_08_disable-internal=192.168.193.212 | ubuntu20.04 | simple_requires-1-1-flv | | 58140953-c7a7-4f03-85f9-1d96bb3087e0 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.193.33; osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | fef20283-a19b-4500-9231-8556c253be40 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.229.42; basic_08_disable-internal=192.168.244.80 | ubuntu20.04 | simple_requires-1-1-flv | | 002c4ddb-e3e2-41ac-8d6e-9f82ed58ae76 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.244.169; osm-ext=172.21.248.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5e361932-ff11-4a6b-aa0a-846949c3ffe5 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.229.37; basic_08_disable-internal=192.168.193.212 | ubuntu20.04 | simple_requires-1-1-flv | | 58140953-c7a7-4f03-85f9-1d96bb3087e0 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.193.33; osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | fef20283-a19b-4500-9231-8556c253be40 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.244.80 | ubuntu20.04 | simple_requires-1-1-flv | | 002c4ddb-e3e2-41ac-8d6e-9f82ed58ae76 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.244.169; osm-ext=172.21.248.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5e361932-ff11-4a6b-aa0a-846949c3ffe5 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.193.212 | ubuntu20.04 | simple_requires-1-1-flv | | 58140953-c7a7-4f03-85f9-1d96bb3087e0 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.193.33; osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s08 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${stdout} Verifies that the given item is empty. Length is 5 'k8s08' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_08 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_k8s_scale_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_k8s_scale_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_k8s_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-08] Simple K8s Scale. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/pebble_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_vnf Package created: /robot-systest/osm-p... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/pebble_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf.tar.gz 90baf48e-042d-4d83-8575-12c817ee6f34 ${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} = 90baf48e-042d-4d83-8575-12c817ee6f34 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 fdbacda2-19ff-4101-9c96-66baa20cb221 ${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} = fdbacda2-19ff-4101-9c96-66baa20cb221 cluster_k8s daily k8s_09 regression %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s-test --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d ${stdout} Logs the given message with the given level. 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +---... ${stdout} Logs the given message with the given level. +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s-test 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d" | | name | "k8s-test" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712805663.3234112, | | | "modified": 1712805668.995685, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712805663.323444, | | | "statusEnteredTime": 1712805663.323444, | | | "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": "9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +---... ${stdout} Logs the given message with the given level. +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 9dcf7552-f6e2-46ae-88b0-0aa4c76e5d1d | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_09 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name pebble-charm-k8s --nsd_name pebble_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = b1831d5a-e73a-404f-bacd-0275afb1983d ${stdout} Logs the given message with the given level. b1831d5a-e73a-404f-bacd-0275afb1983d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b1831d5a-e73a-404f-bacd-0275afb1983d ${ns_id} Logs the given message with the given level. b1831d5a-e73a-404f-bacd-0275afb1983d ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | b4fa47e6-4a99-40c5-8c3d-9bb09aac55a4 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.229 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 16583e97-2ebd-4866-bd95-0111b1e6bc06 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.87 | ubuntu20.04 | simple_requires-1-1-flv | | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | b4fa47e6-4a99-40c5-8c3d-9bb09aac55a4 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.229 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 16583e97-2ebd-4866-bd95-0111b1e6bc06 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | b4fa47e6-4a99-40c5-8c3d-9bb09aac55a4 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.229 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | BUILDING | INSTANTIATING (410fd62f-fe56-4850-be87-eba65cf008fb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | pebble-charm-k8s | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | pebble-charm-k8s | b1831d5a-e73a-404f-bacd-0275afb1983d | 2024-04-11T03:21:40 | 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} = b1831d5a-e73a-404f-bacd-0275afb1983d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b1831d5a-e73a-404f-bacd-0275afb1983d 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} = 11f30386-2f31-4593-b290-d45b57554fb5 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 11f30386-2f31-4593-b290-d45b57554fb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 11f30386-2f31-4593-b290-d45b57554fb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 11f30386-2f31-4593-b290-d45b57554fb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 11f30386-2f31-4593-b290-d45b57554fb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 11f30386-2f31-4593-b290-d45b57554fb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 11f30386-2f31-4593-b290-d45b57554fb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 11f30386-2f31-4593-b290-d45b57554fb5 Performs one Day 2 operation per VNF that creates a new file. cluster_k8s daily k8s_09 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | ac08f6f7-d196-4e77-b8c4-34be05116313 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e6ba8bee-9cae-4183-855b-c14102dbff51 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s-test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${stdout} Verifies that the given item is empty. Length is 8 'k8s-test' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_09 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete pebble_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep pebble_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete pebble_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep pebble_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/pebble_charm_vnf'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/pebble_charm_ns'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = cleanup cluster_k8s daily k8s_09 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-09] Pebble Charm. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} SOL004 Package created: /robot-systest/sol004_k8s_pr... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} SOL004 Package created: /robot-systest/sol004_k8s_proxy_charm_vnf.zip Uploading package /robot-systest/sol004_k8s_proxy_charm_vnf.zip 356ffa67-867a-47d5-889c-40c86e630fb8 ${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} = 356ffa67-867a-47d5-889c-40c86e630fb8 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 477542f5-db9e-4ece-ad0b-e3b0651e4c52 ${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} = 477542f5-db9e-4ece-ad0b-e3b0651e4c52 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} = 4cb8b670-f008-4623-b02b-5206140024b7 ${stdout} Logs the given message with the given level. 4cb8b670-f008-4623-b02b-5206140024b7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4cb8b670-f008-4623-b02b-5206140024b7 ${ns_id} Logs the given message with the given level. 4cb8b670-f008-4623-b02b-5206140024b7 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 07cd6fcb-1e22-43c7-a177-b6e40c3305c2 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.134 | ubuntu20.04 | simple_requires-1-1-flv | | 594e5c36-fdfd-49a9-a8d1-2296ef46582e | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.248.149 | ubuntu20.04 | simple_requires-1-1-flv | | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | d26e57e5-6791-4dea-b538-7a1dbaa22988 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.126 | ubuntu20.04 | simple_requires-1-1-flv | | 90cf8f58-1a74-4a6c-b943-c6ec9568db85 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 84d1d9f5-8c9e-4cb2-bc6d-264d9178921d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25:48 | BUILDING | INSTANTIATING (06df0505-feaf-48ac-9639-f4425588cfa7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.64; basic_18-datanet2=192.168.20.175; basic_18-datanet3=192.168.30.57; osm-ext=172.21.248.196 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.138; basic_18-datanet2=192.168.20.233; basic_18-datanet3=192.168.30.36; osm-ext=172.21.248.133 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25: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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.64; basic_18-datanet2=192.168.20.175; basic_18-datanet3=192.168.30.57; osm-ext=172.21.248.196 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.138; basic_18-datanet2=192.168.20.233; basic_18-datanet3=192.168.30.36; osm-ext=172.21.248.133 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_10-k8s_proxy_charm | 4cb8b670-f008-4623-b02b-5206140024b7 | 2024-04-11T03:25: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} = 4cb8b670-f008-4623-b02b-5206140024b7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4cb8b670-f008-4623-b02b-5206140024b7 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 4cb8b670-f008-4623-b02b-5206140024b7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.208 ${stdout} Logs the given message with the given level. 172.21.248.208 ${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.208 ${ip_addr_1} Logs the given message with the given level. 172.21.248.208 ${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.208 ${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 4cb8b670-f008-4623-b02b-5206140024b7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.29 ${stdout} Logs the given message with the given level. 172.21.249.29 ${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.29 ${ip_addr_2} Logs the given message with the given level. 172.21.249.29 ${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.29 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.208:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:28:39 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.208 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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:28:40 UTC 2024 System load: 0.09 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.29 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.208:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:28:42 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.208 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:28: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@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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:28:44 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.29 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:28: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@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} = b49849aa-8320-4a9b-9b5a-a00262084d2d ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b49849aa-8320-4a9b-9b5a-a00262084d2d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id b49849aa-8320-4a9b-9b5a-a00262084d2d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b49849aa-8320-4a9b-9b5a-a00262084d2d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b49849aa-8320-4a9b-9b5a-a00262084d2d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = b49849aa-8320-4a9b-9b5a-a00262084d2d ${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} = 18e98332-ef3c-4c9f-95e9-a64c261bc9fe ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 18e98332-ef3c-4c9f-95e9-a64c261bc9fe --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 18e98332-ef3c-4c9f-95e9-a64c261bc9fe ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 18e98332-ef3c-4c9f-95e9-a64c261bc9fe --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 18e98332-ef3c-4c9f-95e9-a64c261bc9fe --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 18e98332-ef3c-4c9f-95e9-a64c261bc9fe 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.208:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:29:26 UTC 2024 System load: 0.02 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.208 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:28:42 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:29:27 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.29 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:28:44 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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.64; basic_18-datanet2=192.168.20.175; basic_18-datanet3=192.168.30.57; osm-ext=172.21.248.196 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.138; basic_18-datanet2=192.168.20.233; basic_18-datanet3=192.168.30.36; osm-ext=172.21.248.133 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0f761a08-066a-447e-b875-821e03c186e7 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.95; osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 7035aa6d-1fae-4267-9675-0752c8d7ddbf | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.67.188; osm-ext=172.21.248.208 | ubuntu18.04 | simple_requires-1-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.64; basic_18-datanet2=192.168.20.175; basic_18-datanet3=192.168.30.57; osm-ext=172.21.248.196 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.138; basic_18-datanet2=192.168.20.233; basic_18-datanet3=192.168.30.36; osm-ext=172.21.248.133 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.64; basic_18-datanet2=192.168.20.175; basic_18-datanet3=192.168.30.57; osm-ext=172.21.248.196 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d89b1524-a3d1-4812-bccf-8705fc200b79 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.138; basic_18-datanet2=192.168.20.233; basic_18-datanet3=192.168.30.36; osm-ext=172.21.248.133 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 2fa83092-c08f-4136-baae-cd189b0e2252 | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu20.04 | | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete sol007_k8s_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep sol007_k8s_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete sol004_k8s_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep sol004_k8s_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-10] K8s Proxy Charm using SOL004 and SOL007 packages. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/openldap_primitives_knf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_primitives_knf Validation OK List of charms in the descriptor: {'openldap-proxy_ubuntu-20.04-amd64.charm'} Adding File: openldap_primitives_knf ... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_primitives_knf Validation OK List of charms in the descriptor: {'openldap-proxy_ubuntu-20.04-amd64.charm'} Adding File: openldap_primitives_knf Package created: /robot-systest/osm-packages/openldap_primitives_knf.tar.gz Uploading package /robot-systest/osm-packages/openldap_primitives_knf.tar.gz 581f20ce-4363-4163-a165-571a59dc8e55 ${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} = 581f20ce-4363-4163-a165-571a59dc8e55 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 2e9885f0-1eaa-4df8-ac12-140de329de89 ${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} = 2e9885f0-1eaa-4df8-ac12-140de329de89 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} = 70a46324-22b6-4695-aba0-cdad6cf3797c ${stdout} Logs the given message with the given level. 70a46324-22b6-4695-aba0-cdad6cf3797c ${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 | 70a46324-22b6-4695-aba0-cdad6cf3797c | 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 | 70a46324-22b6-4695-aba0-cdad6cf3797c | 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 | "70a46324-22b6-4695-aba0-cdad6cf3797c" | | 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 | "ea755fa2-2151-4c74-a940-9da8fc602de1" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1712806273.8563397, | | | "modified": 1712806279.1945598, | | | "projects_read": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "projects_write": [ | | | "95079185-7c9a-4bd9-b18b-2be527e9a318" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1712806273.8563795, | | | "statusEnteredTime": 1712806273.8563795, | | | "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": "70a46324-22b6-4695-aba0-cdad6cf3797c", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "70a46324-22b6-4695-aba0-cdad6cf3797c", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "70a46324-22b6-4695-aba0-cdad6cf3797c", | | | "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 | 70a46324-22b6-4695-aba0-cdad6cf3797c | 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 | 70a46324-22b6-4695-aba0-cdad6cf3797c | 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} = 680b1c64-8262-44bb-b658-17073a6a599c ${stdout} Logs the given message with the given level. 680b1c64-8262-44bb-b658-17073a6a599c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 680b1c64-8262-44bb-b658-17073a6a599c ${ns_id} Logs the given message with the given level. 680b1c64-8262-44bb-b658-17073a6a599c ${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 | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------+------------------------------+--------------------------+ | 2e78612e-0ca8-414c-a880-8586ddae5b56 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.111 | ubuntu20.04 | simple_requires-1-1-flv | | 38745e70-e1ac-419d-9976-8c6de24f5e5a | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.55; osm-ext=172.21.248.238 | ubuntu20.04 | simple_requires-1-1-flv | | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 2e78612e-0ca8-414c-a880-8586ddae5b56 | basic_19-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 38745e70-e1ac-419d-9976-8c6de24f5e5a | basic_19-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.238 | ubuntu20.04 | simple_requires-1-1-flv | | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | BUILDING | INSTANTIATING (476e9651-ad40-496c-8efa-ebded95c4e7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | c02dff2a-b62b-49ed-9cd6-b3de39b79308 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | several_volumes-VM-flv | | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | c02dff2a-b62b-49ed-9cd6-b3de39b79308 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | several_volumes-VM-flv | | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 680b1c64-8262-44bb-b658-17073a6a599c | 2024-04-11T03:31:51 | 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} = 680b1c64-8262-44bb-b658-17073a6a599c 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} = 680b1c64-8262-44bb-b658-17073a6a599c ${stdout} Logs the given message with the given level. 680b1c64-8262-44bb-b658-17073a6a599c ${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} = 680b1c64-8262-44bb-b658-17073a6a599c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 680b1c64-8262-44bb-b658-17073a6a599c cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 680b1c64-8262-44bb-b658-17073a6a599c | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 4f34301d-432a-46ca-8141-125729059cc6 ${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} = [ 4f34301d-432a-46ca-8141-125729059cc6 ] @{vnfr_list} = [ 4f34301d-432a-46ca-8141-125729059cc6 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 4f34301d-432a-46ca-8141-125729059cc6 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 4f34301d-432a-46ca-8141-125729059cc6 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} = e35658da-626d-4104-b1c0-a413d0c84efd ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e35658da-626d-4104-b1c0-a413d0c84efd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id e35658da-626d-4104-b1c0-a413d0c84efd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e35658da-626d-4104-b1c0-a413d0c84efd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e35658da-626d-4104-b1c0-a413d0c84efd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = e35658da-626d-4104-b1c0-a413d0c84efd 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} = 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 38ecd11e-2da1-4f34-9e0d-b7fd8bca0e1c cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4f34301d-432a-46ca-8141-125729059cc6 --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = 3 ${count} = 3 ${count} Logs the given message with the given level. 3 ${count} ${replica_count} Fails if objects are unequal after converting them to integers. cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${rollback_action} ${vnf_member_index} ${kdu_name} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap 2>&1'. ${rc} = 0 ${stdout} = 4f315567-8516-419d-bebf-0cd5ad09e73c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4f315567-8516-419d-bebf-0cd5ad09e73c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4f315567-8516-419d-bebf-0cd5ad09e73c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4f315567-8516-419d-bebf-0cd5ad09e73c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4f315567-8516-419d-bebf-0cd5ad09e73c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 4f315567-8516-419d-bebf-0cd5ad09e73c cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4f34301d-432a-46ca-8141-125729059cc6 --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_12 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | fd2938f4-ad50-48e6-a1f2-3d8db1103f18 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.12 | ubuntu20.04 | simple_requires-1-1-flv | | 9a18a724-7740-4bed-b046-451635e83270 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.28 | ubuntu20.04 | simple_requires-1-1-flv | | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s12 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 0 ${stdout} = k8s12 ${stdout} Verifies that the given item is empty. Length is 5 'k8s12' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_12 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-12] Openldap Helm chart. ${project_1_name} ${project_1_quotas} ${project_name} Verifies that the given item is not empty. Length is 16 ${project_quotas} Verifies that the given item is not empty. Length is 29 ${rc} ${stdout} osm project-create ${project_name} --quotas ${project_quotas} Runs the given command in the system and returns the RC and output. Running command 'osm project-create quotas_01_proj_1 --quotas vnfds=1,nsds=2,ns_instances=3 2>&1'. ${rc} = 0 ${stdout} = fcb81491-5f90-4f90-bcc0-87dde249dfcc ${stdout} Logs the given message with the given level. fcb81491-5f90-4f90-bcc0-87dde249dfcc ${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} = a4801dd6-58f8-444e-92e9-6bcb066a2e6b ${stdout} Logs the given message with the given level. a4801dd6-58f8-444e-92e9-6bcb066a2e6b ${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} = d863390b-bdac-4582-b1c8-b38831cb1d16 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${project_1_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_1" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_1", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_1", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${project_2_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_2" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_2", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_2", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_1_name} ${project_3_name} ${project_name} Verifies that the given item is not empty. Length is 16 ${new_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm project-update ${project_name} --name ${new_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-update quotas_01_proj_1 --name quotas_01_proj_3 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} ${project_3_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} = 1 1 ${project_3_vnfds} Fails if objects are unequal after converting them to integers. ${project_3_nsds} ${project_3_name} nsds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'nsds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 2 ${stdout} Logs the given message with the given level. 2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_nsds} = 2 2 ${project_3_nsds} Fails if objects are unequal after converting them to integers. ${project_3_ns_instances} ${project_3_name} ns_instances ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'ns_instances' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 3 ${stdout} Logs the given message with the given level. 3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_ns_instances} = 3 3 ${project_3_ns_instances} Fails if objects are unequal after converting them to integers. ${user_name} ${project_3_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_3" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_3", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_3", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v1;product-name=v1' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v1;product-name=v1' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v1;product-name=v1' ${param_name} = override='id=v1;product-name ${param_value} = v1' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v1;product-name=v1' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v1;product-name=v1' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 56883d00-90e0-4eb0-86ad-fd51329991e7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Runs the keyword and checks that the expected error occurred. ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v2;product-name=v2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v2;product-name=v2' ${param_name} = override='id=v2;product-name ${param_value} = v2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=1) exceeded for project quotas_01_proj_3 (fcb81491-5f90-4f90-bcc0-87dde249dfcc)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${project_3_name} ${project_3_quotas} ${project_name} Verifies that the given item is not empty. Length is 16 ${project_quotas} Verifies that the given item is not empty. Length is 27 ${rc} ${stdout} osm project-update ${project_name} --quotas ${project_quotas} Runs the given command in the system and returns the RC and output. Running command 'osm project-update quotas_01_proj_3 --quotas vnfds=5,nsds=,ns_instances= 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} ${project_3_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 5 ${stdout} Logs the given message with the given level. 5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} = 5 5 ${project_3_vnfds} Fails if objects are unequal after converting them to integers. cluster_main daily quotas_01 regression ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v2;product-name=v2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v2;product-name=v2' ${param_name} = override='id=v2;product-name ${param_value} = v2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 76e5c1d7-d175-42d0-981e-08e04f542612 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v3;product-name=v3' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v3;product-name=v3' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v3;product-name=v3' ${param_name} = override='id=v3;product-name ${param_value} = v3' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v3;product-name=v3' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v3;product-name=v3' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 79b25b45-8c71-4026-b0a9-be01475042b6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v4;product-name=v4' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v4;product-name=v4' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v4;product-name=v4' ${param_name} = override='id=v4;product-name ${param_value} = v4' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v4;product-name=v4' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v4;product-name=v4' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz f5425b54-9d84-4afe-8480-f3370020f3af ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v5;product-name=v5' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v5;product-name=v5' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v5;product-name=v5' ${param_name} = override='id=v5;product-name ${param_value} = v5' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v5;product-name=v5' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v5;product-name=v5' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 4beb3fc1-39c3-4f91-8bd8-4d5d133e5de9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v6;product-name=v6' Runs the keyword and checks that the expected error occurred. ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v6;product-name=v6' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v6;product-name=v6' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v6;product-name=v6' ${param_name} = override='id=v6;product-name ${param_value} = v6' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v6;product-name=v6' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v6;product-name=v6' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=5) exceeded for project quotas_01_proj_3 (fcb81491-5f90-4f90-bcc0-87dde249dfcc)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_1;product-name=vp2_1' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=vp2_1;product-name=vp2_1' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=vp2_1;product-name=vp2_1' ${param_name} = override='id=vp2_1;product-name ${param_value} = vp2_1' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_1;product-name=vp2_1' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_1;product-name=vp2_1' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 5015cc2e-3d5a-4ac7-81b6-36ee9f60cf17 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_2;product-name=vp2_2' Runs the keyword and checks that the expected error occurred. ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_2;product-name=vp2_2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=vp2_2;product-name=vp2_2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=vp2_2;product-name=vp2_2' ${param_name} = override='id=vp2_2;product-name ${param_value} = vp2_2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_2;product-name=vp2_2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_2;product-name=vp2_2' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=1) exceeded for project quotas_01_proj_2 (a4801dd6-58f8-444e-92e9-6bcb066a2e6b)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${rc} ${stdout} osm --project ${project_3_name} --password ${user_password} --user ${user_name} vnfpkg-show vp2_1 Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --password quotas_01_pass --user quotas_01_user vnfpkg-show vp2_1 2>&1'. ${rc} = 1 ${stdout} = ERROR: vnfd vp2_1 not found ${stdout} Logs the given message with the given level. ERROR: vnfd vp2_1 not found ${rc} ${success_return_code} Fails if objects are equal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${stdout} osm --project ${project_2_name} --password ${user_password} --user ${user_name} vnfpkg-show v1 Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --password quotas_01_pass --user quotas_01_user vnfpkg-show v1 2>&1'. ${rc} = 1 ${stdout} = ERROR: vnfd v1 not found ${stdout} Logs the given message with the given level. ERROR: vnfd v1 not found ${rc} ${success_return_code} Fails if objects are equal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_2_name} vp2_1 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 5 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-delete vp2_1 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression ${project_3_name} v1 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v1 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v2 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v2 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v3 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v3 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v4 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v4 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v5 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v5 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression * Delete Project ${project_2_name} Runs the keyword and checks that the expected error occurred. ${project_2_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_2 2>&1'. ${rc} = 1 ${stdout} = ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "Project 'quotas_01_proj_2' (a4801dd6-58f8-444e-92e9-6bcb066a2e6b) 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' (a4801dd6-58f8-444e-92e9-6bcb066a2e6b) is being used by user 'quotas_01_user'" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${user_name} ${project_2_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-update ${user_name} --remove-project ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm user-update quotas_01_user --remove-project quotas_01_proj_2 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_2 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression ${rc} osm user-delete ${user_name} Runs the given command in the system and returns the return code. Running command 'osm user-delete quotas_01_user 2>&1'. ${rc} = 0 cleanup cluster_main daily quotas_01 regression ${project_3_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_3 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Run Keyword And Ignore Error Delete VNFD In Project ${project_2_name} vp2_1 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v1 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v2 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v3 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v4 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v5 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${project_1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Project ${project_2_name} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${project_3_name} Runs the given keyword with the given arguments, if one or more tests failed. osm user-delete ${user_name} Runs the given command in the system and returns the return code. Running command 'osm user-delete quotas_01_user 2>&1'. [QUOTAS-01] Quota enforcement. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 2e0cafd9-5c48-4dd2-81be-d13470357517 ${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} = 2e0cafd9-5c48-4dd2-81be-d13470357517 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 e238de3c-0882-4ecf-b76e-9a026470af04 ${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} = e238de3c-0882-4ecf-b76e-9a026470af04 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} = 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 ${stdout} Logs the given message with the given level. 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 ${ns_id} Logs the given message with the given level. 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 893f748e-65a7-4208-8fd0-df108d717e7c | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.35 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 | 2024-04-11T03:37:21 | BUILDING | INSTANTIATING (2f83fbab-e73d-4063-8145-94265cec37b8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 | 2024-04-11T03:37:21 | BUILDING | INSTANTIATING (2f83fbab-e73d-4063-8145-94265cec37b8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 7ea38ebd-5cfe-495d-8f71-3a2441fdb2c6 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu20.04 | simple_requires-1-1-flv | | c439524d-943d-4b9e-93ac-02d50dba3c91 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 | 2024-04-11T03:37:21 | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 7ea38ebd-5cfe-495d-8f71-3a2441fdb2c6 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu20.04 | simple_requires-1-1-flv | | c439524d-943d-4b9e-93ac-02d50dba3c91 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 015f70a2-25b8-4a86-9767-ecc8d76016ea | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 | 2024-04-11T03:37:21 | 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} = 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2c6b7c4a-cf22-4e31-818c-0e33b1ed4937 cluster_sa daily regression sa_01 ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_1_name} msg=Prometheus first metric name is not available Fails unless the given variable exists within the current scope. ${metric_2_name} msg=Prometheus second metric name is not available Fails unless the given variable exists within the current scope. ${metric_1_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:38:00 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:39:00 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:40:00 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:41:00 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:42:00 GMT', 'Content-Length': '312'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"2c6b7c4a-cf22-4e31-818c-0e33b1ed4937","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712806920.773,"0.25833333333333336"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '2c6b7c4a-cf22-4e31-818c-0e33b1... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '2c6b7c4a-cf22-4e31-818c-0e33b1ed4937', 'ns_name': 'sa_01-vnf_with_vim_metrics_test', 'project_i... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_1_value} = 0.25833333333333336 ${metric_1_value} <= 0 Fail msg=The metric '${metric_1_name}' value is '${metric_1_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_2_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D path_url=/api/v1/query?query=osm_average_memory_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:42:00 GMT', 'Content-Length': '320'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_average_memory_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"2c6b7c4a-cf22-4e31-818c-0e33b1ed4937","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712806920.81,"272.87890625"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_average_memory_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '2c6b7c4a-cf22-4e31-... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_average_memory_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '2c6b7c4a-cf22-4e31-818c-0e33b1ed4937', 'ns_name': 'sa_01-vnf_with_vim_metrics_test',... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_2_value} = 272.87890625 ${metric_2_value} <= 0 Fail msg=The metric '${metric_2_name}' value is '${metric_2_value}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_01 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | aa6de050-e070-4be5-8dac-3418e8c865dd | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7ea38ebd-5cfe-495d-8f71-3a2441fdb2c6 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 0 ${stdout} = sa_01-vnf_with_vim_metrics_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_01-vnf_with_vim_metrics_test == sa_01-vnf_with_vim_metrics_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | b0b42ee5-9a30-4500-89f5-3f809ca9864b | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | d0723dec-99ce-42e4-803b-cdea29545527 | slicebasic.slice-middle-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | aa6de050-e070-4be5-8dac-3418e8c865dd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.3; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.56 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-01] VNF with VIM-based metrics. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 3444c539-0a9b-4da6-aa17-e1c6dec7f30c ${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} = 3444c539-0a9b-4da6-aa17-e1c6dec7f30c cluster_sa daily regression sa_02 sanity ${rc} ${stdout} osm vnfpkg-show ${vnfd_name} --literal | yq '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show hackfest_basic_metrics-vnf --literal | yq '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 60.0000000000 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${scaleout_threshold} ${stdout} Converts the given item to a floating point number. ${scaleout_threshold} = 60.0 ${metric_threshold} ${scaleout_threshold} Makes a variable available everywhere within the scope of the current suite. ${metric_threshold} = 60.0 ${metric_threshold} Logs the given message with the given level. 60.0 cluster_sa daily regression sa_02 sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/osm-packages/hackfest_basic_metrics_ns.tar.gz f224bdc0-2ee0-4b3b-ac93-f61c65e4e916 ${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} = f224bdc0-2ee0-4b3b-ac93-f61c65e4e916 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} = 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 ${stdout} Logs the given message with the given level. 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 ${ns_id} Logs the given message with the given level. 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 ${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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | b0b42ee5-9a30-4500-89f5-3f809ca9864b | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.139.10 | ubuntu18.04 | simple_requires-1-1-flv | | d0723dec-99ce-42e4-803b-cdea29545527 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.47, 192.168.139.168 | ubuntu18.04 | simple_requires-1-1-flv | | aa6de050-e070-4be5-8dac-3418e8c865dd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.3; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.56 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_02 | 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | 2024-04-11T03:42:35 | BUILDING | INSTANTIATING (88b8f7e4-8343-4303-918d-de433e2e8088) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | 2024-04-11T03:42:35 | BUILDING | INSTANTIATING (88b8f7e4-8343-4303-918d-de433e2e8088) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 2a79d31b-4f24-42e9-9636-b5fbd3fa456e | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | simple_requires-1-1-flv | | b0b42ee5-9a30-4500-89f5-3f809ca9864b | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.139.10 | ubuntu18.04 | simple_requires-1-1-flv | | d0723dec-99ce-42e4-803b-cdea29545527 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.47, 192.168.139.168 | ubuntu18.04 | simple_requires-1-1-flv | | aa6de050-e070-4be5-8dac-3418e8c865dd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.3; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.56 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_02 | 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | 2024-04-11T03:42: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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 2a79d31b-4f24-42e9-9636-b5fbd3fa456e | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | simple_requires-1-1-flv | | b0b42ee5-9a30-4500-89f5-3f809ca9864b | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.139.10 | ubuntu18.04 | simple_requires-1-1-flv | | d0723dec-99ce-42e4-803b-cdea29545527 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.47, 192.168.139.168 | ubuntu18.04 | simple_requires-1-1-flv | | aa6de050-e070-4be5-8dac-3418e8c865dd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.3; slicebasic.slice-nsd_vnfd_vld_dat=192.168.113.56 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_02 | 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | 2024-04-11T03:42: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} = 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 cluster_sa daily regression sa_02 sanity @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = cf55d0b2-fbe5-4633-af35-9737910f89d9 ${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} = [ cf55d0b2-fbe5-4633-af35-9737910f89d9 ] @{vnfr_list} = [ cf55d0b2-fbe5-4633-af35-9737910f89d9 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: cf55d0b2-fbe5-4633-af35-9737910f89d9 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = cf55d0b2-fbe5-4633-af35-9737910f89d9 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 1d91afcb-e9ef-4fc2-bd73-d064894b2bd0 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.109 ${stdout} Logs the given message with the given level. 172.21.249.109 ${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.109 ${ip_addr} Logs the given message with the given level. 172.21.249.109 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.109 cluster_sa daily regression sa_02 sanity ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:43: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_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:44: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_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:45:17 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1d91afcb-e9ef-4fc2-bd73-d064894b2bd0","ns_name":"sa_02","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712807117.218,"13.941666666666665"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d06489... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d064894b2bd0', 'ns_name': 'sa_02', 'project_id': '95079185-7c9a-4bd9-b1... ${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} = 13.941666666666665 ${metric_value} <= 0 Fail msg=The metric '${metric_name}' value is '${metric_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_value} >= ${metric_threshold} Fail msg=The metric '${metric_name}' value is higher than '${metric_threshold}' before scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${vnf_ip_addr} ${username} ${password} ${privatekey} for i in {1..9}; do yes &> /dev/null & done ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.109:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:45:17 UTC 2024 System load: 0.24 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.109 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-02-vnf-hackfest-basic-metrics-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'for i in {1..9}; do yes &> /dev/null & done'. Command exited with return code 0. ${stdout} = ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_sa daily regression sa_02 sanity ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_retries} ${prometheus_poll_timeout} Check VIM-based Metric Exceeds Threshold Runs the specified keyword and retries if it fails. Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:45:19 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1d91afcb-e9ef-4fc2-bd73-d064894b2bd0","ns_name":"sa_02","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712807119.699,"13.941666666666665"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d06489... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d064894b2bd0', 'ns_name': 'sa_02', 'project_id': '95079185-7c9a-4bd9-b1... ${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} = 13.941666666666665 ${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 '13.941666666666665' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:46:19 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1d91afcb-e9ef-4fc2-bd73-d064894b2bd0","ns_name":"sa_02","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712807179.748,"13.941666666666665"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d06489... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d064894b2bd0', 'ns_name': 'sa_02', 'project_id': '95079185-7c9a-4bd9-b1... ${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} = 13.941666666666665 ${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 '13.941666666666665' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:47:19 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1d91afcb-e9ef-4fc2-bd73-d064894b2bd0","ns_name":"sa_02","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712807239.79,"13.941666666666665"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d06489... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d064894b2bd0', 'ns_name': 'sa_02', 'project_id': '95079185-7c9a-4bd9-b1... ${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} = 13.941666666666665 ${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 '13.941666666666665' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:48:19 GMT', 'Content-Length': '296'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1d91afcb-e9ef-4fc2-bd73-d064894b2bd0","ns_name":"sa_02","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1712807299.83,"79.16666666666666"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d06489... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1d91afcb-e9ef-4fc2-bd73-d064894b2bd0', 'ns_name': 'sa_02', 'project_id': '95079185-7c9a-4bd9-b1... ${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} = 79.16666666666666 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity 2 minutes Wait for auto-scale to take place Pauses the test executed for the given time. Slept 2 minutes Wait for auto-scale to take place @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show cf55d0b2-fbe5-4633-af35-9737910f89d9 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = sa_02-vnf-hackfest_basic_metrics-VM-0 sa_02-vnf-hackfest_basic_metrics-VM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ sa_02-vnf-hackfest_basic_metrics-VM-0 | sa_02-vnf-hackfest_basic_metrics-VM-1 ] @{vdur_list} = [ sa_02-vnf-hackfest_basic_metrics-VM-0 | sa_02-vnf-hackfest_basic_metrics-VM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: sa_02-vnf-hackfest_basic_metrics-VM-0 1: sa_02-vnf-hackfest_basic_metrics-VM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} <= 1 Fail msg=There is no new VDU after auto-scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_02 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | d5d641ca-dc8b-449b-841f-632a24c8a7c4 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | a8c0f680-5f22-4a79-a8c3-44e0575fbe00 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.43 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 3b0b0456-242e-4e24-bce6-5be97fa36eaa | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.126; slicebasic.slice-nsd_vnfd_vld_dat=192.168.246.208 | ubuntu18.04 | simple_requires-1-1-flv | | 2a79d31b-4f24-42e9-9636-b5fbd3fa456e | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_02 2>&1'. ${rc} = 0 ${stdout} = sa_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_02 == sa_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | a8c0f680-5f22-4a79-a8c3-44e0575fbe00 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.43 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 3b0b0456-242e-4e24-bce6-5be97fa36eaa | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.126; slicebasic.slice-nsd_vnfd_vld_dat=192.168.246.208 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-02] VNF with VIM-based metrics and auto-scaling. '%{PACKAGES_FOLDER}/${ws_vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 01d0cf30-cbed-4fa0-a576-37fb27beeee7 ${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} = 01d0cf30-cbed-4fa0-a576-37fb27beeee7 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 df0bdabc-7143-4380-a0c3-ee00eda9e595 ${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} = df0bdabc-7143-4380-a0c3-ee00eda9e595 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} = 9083e774-f66a-4f64-8a94-b41745a95ae2 ${stdout} Logs the given message with the given level. 9083e774-f66a-4f64-8a94-b41745a95ae2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9083e774-f66a-4f64-8a94-b41745a95ae2 ${ns_id} Logs the given message with the given level. 9083e774-f66a-4f64-8a94-b41745a95ae2 ${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 | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | a8c0f680-5f22-4a79-a8c3-44e0575fbe00 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.43 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 3b0b0456-242e-4e24-bce6-5be97fa36eaa | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.126; slicebasic.slice-nsd_vnfd_vld_dat=192.168.246.208 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-webhook_service_test | 9083e774-f66a-4f64-8a94-b41745a95ae2 | 2024-04-11T03:50:54 | BUILDING | INSTANTIATING (8a0efb1a-c34c-4a79-a537-5826fa0392e8) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9083e774-f66a-4f64-8a94-b41745a95ae2 | 2024-04-11T03:50:54 | BUILDING | INSTANTIATING (8a0efb1a-c34c-4a79-a537-5826fa0392e8) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | a8c0f680-5f22-4a79-a8c3-44e0575fbe00 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.43 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 3b0b0456-242e-4e24-bce6-5be97fa36eaa | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.126; slicebasic.slice-nsd_vnfd_vld_dat=192.168.246.208 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-webhook_service_test | 9083e774-f66a-4f64-8a94-b41745a95ae2 | 2024-04-11T03:50: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 | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | a8c0f680-5f22-4a79-a8c3-44e0575fbe00 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.218; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.43 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 3b0b0456-242e-4e24-bce6-5be97fa36eaa | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.126; slicebasic.slice-nsd_vnfd_vld_dat=192.168.246.208 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-webhook_service_test | 9083e774-f66a-4f64-8a94-b41745a95ae2 | 2024-04-11T03:50: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} = 9083e774-f66a-4f64-8a94-b41745a95ae2 ${ws_ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ws_ns_id} = 9083e774-f66a-4f64-8a94-b41745a95ae2 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 9083e774-f66a-4f64-8a94-b41745a95ae2 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.77 ${stdout} Logs the given message with the given level. 172.21.249.77 ${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.77 ${ip_addr} Logs the given message with the given level. 172.21.249.77 ${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.77 cluster_sa daily regression sa_07 ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 40 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 40 seconds Wait for SSH daemon to be up ${stdout} ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; test; } | nc -l '${ws_port}'; done > '${ws_log_file}' 2>&1 & ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.77:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:52:14 UTC 2024 System load: 0.6 Processes: 103 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.77 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-07-webhook-se-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'while true; do { echo -e 'HTTP/1.1 200 OK '; test; } | nc -l '5212'; done > 'webhook.log' 2>&1 &'. Command exited with return code 0. ${stdout} = ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = cluster_sa daily regression sa_07 ${rc} ${stdout} mkdir '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' && WEBHOOK_URL="http://${ws_vnf_ip_addr}:${ws_port}" envsubst < '%{PACKAGES_FOLDER}/${vnfd_pkg}'/'${vnfd_file}' > '%{PACKAGES_FOLDER}/${new_vnfd_pkg}'/'${vnfd_file}' Runs the given command in the system and returns the RC and output. Running command 'mkdir '/robot-systest/osm-packages/new_cirros_alarm_vnf' && WEBHOOK_URL="http://172.21.249.77: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 757c86e0-479a-4bc4-a7c3-66f6e6a7888d ${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} = 757c86e0-479a-4bc4-a7c3-66f6e6a7888d 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 e10704df-d421-4baf-8f90-d40f1c56123b ${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} = e10704df-d421-4baf-8f90-d40f1c56123b 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} = 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d ${stdout} Logs the given message with the given level. 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d ${ns_id} Logs the given message with the given level. 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d ${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 | +--------------------------------------+----------------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | f66f7e3c-93de-42da-8e13-d3cb3bd475b9 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.70 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | c8ddfa81-f7c6-4b93-8c79-1d6c27885cd3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.35; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.112 | ubuntu18.04 | simple_requires-1-1-flv | | b7c84dd5-6af0-47af-852f-df56d650211e | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.217; slicebasic.slice-nsd_vnfd_vld_dat=192.168.133.195, 192.168.246.240 | ubuntu18.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+--------------------------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-alarm_test | 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d | 2024-04-11T03:52:21 | BUILDING | INSTANTIATING (6a23a946-bdef-47d8-8248-68c136e56602) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d | 2024-04-11T03:52:21 | BUILDING | INSTANTIATING (6a23a946-bdef-47d8-8248-68c136e56602) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ | 008377af-a231-4e59-87fe-dcca19c43807 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.230 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | f66f7e3c-93de-42da-8e13-d3cb3bd475b9 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.70 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-alarm_test | 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d | 2024-04-11T03:52:21 | 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ | 008377af-a231-4e59-87fe-dcca19c43807 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.230 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | f66f7e3c-93de-42da-8e13-d3cb3bd475b9 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.70 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-alarm_test | 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d | 2024-04-11T03:52:21 | 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} = 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4341ecce-00c5-4e5e-b48b-c8c4b9847e1d cluster_sa daily regression sa_07 ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:52:59 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:53:59 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:55:00 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:56:00 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"4341ecce-00c5-4e5e-b48b-c8c4b9847e1d","ns_name":"sa_07-alarm_test","project_id":"95079185-7c9a-4bd9-b18b-2be527e9a318","vdu_name":"sa_07-alarm_test-vnf-cirros_vnfd-VM-0","vnf_member_index":"vnf"},"value":[1712807760.054,"1.4083333333333334"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '4341ecce-00c5-4e5e-b48b-c8c4b9... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '4341ecce-00c5-4e5e-b48b-c8c4b9847e1d', 'ns_name': 'sa_07-alarm_test', 'project_id': '95079185-7... ${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} = 1.4083333333333334 ${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.77:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 03:56:00 UTC 2024 System load: 0.01 Processes: 105 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.77 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 03:52:15 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-07-webhook-se-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'cat 'webhook.log' | grep 'notify_alarm' | grep 'sa_07-alarm_test''. Command exited with return code 0. ${stdout} = {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:53:00", "status": "i... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:53:00", "status": "insufficient-data", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:53:30", "status": "insufficient-data", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:54:00", "status": "insufficient-data", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:54:31", "status": "insufficient-data", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:55:01", "status": "insufficient-data", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:55:31", "status": "alarm", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "990f8571-a65d-4b29-a036-f3c0de24e43e", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "11-04-2024 03:56:01", "status": "alarm", "tags": {"ns_id": "4341ecce-00c5-4e5e-b48b-c8c4b9847e1d", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"} Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_sa daily regression sa_07 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 7c3f7100-0c27-4b44-8a5b-28db65712da7 | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1fb | ubuntu20.04 | simple_requires-1-1-flv | | 766211c5-dc62-42c7-91d5-a7f3d805736e | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::216; osm-ext=172.21.249.83 | ubuntu20.04 | simple_requires-1-1-flv | | 008377af-a231-4e59-87fe-dcca19c43807 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.230 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-alarm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-alarm_test == sa_07-alarm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c3f7100-0c27-4b44-8a5b-28db65712da7 | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1fb | ubuntu20.04 | simple_requires-1-1-flv | | 766211c5-dc62-42c7-91d5-a7f3d805736e | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::216; osm-ext=172.21.249.83 | ubuntu20.04 | simple_requires-1-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete cirros_alarm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep cirros_alarm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cirros_alarm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cirros_alarm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c3f7100-0c27-4b44-8a5b-28db65712da7 | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1fb | ubuntu20.04 | simple_requires-1-1-flv | | 766211c5-dc62-42c7-91d5-a7f3d805736e | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::216; osm-ext=172.21.249.83 | ubuntu20.04 | simple_requires-1-1-flv | | 45747499-b6d1-43cc-8f3d-0d2feb472562 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-webhook_service_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-webhook_service_test == sa_07-webhook_service_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | 7c3f7100-0c27-4b44-8a5b-28db65712da7 | basic_29-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 766211c5-dc62-42c7-91d5-a7f3d805736e | basic_29-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu20.04 | simple_requires-1-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-webhook_service_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NS ${ws_ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${ws_nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${ws_vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_cirros_alarm_vnf'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. [SA-07] Events or alarms coming from SA-related VNFs in the NS. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/snmp_ee_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/snmp_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_vnf Package created: /robot-systest/osm-packages/snmp_ee_vnf.tar.g... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/snmp_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_vnf Package created: /robot-systest/osm-packages/snmp_ee_vnf.tar.gz Uploading package /robot-systest/osm-packages/snmp_ee_vnf.tar.gz 228bb63b-c369-474c-b124-68b1f6233056 ${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} = 228bb63b-c369-474c-b124-68b1f6233056 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 f... ${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 f8ac082f-7cc9-4b5a-9518-0e38f925e516 ${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} = f8ac082f-7cc9-4b5a-9518-0e38f925e516 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} = 15e8f51d-56c6-476c-9c7f-5bbb83597d0f ${stdout} Logs the given message with the given level. 15e8f51d-56c6-476c-9c7f-5bbb83597d0f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 15e8f51d-56c6-476c-9c7f-5bbb83597d0f ${ns_id} Logs the given message with the given level. 15e8f51d-56c6-476c-9c7f-5bbb83597d0f ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 4f4b3308-e695-486c-bf25-510a30e65348 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | BUILD | | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+--------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::277; basic_30-datanet2=192.168.20.134; basic_30-datanet3=192.168.30.50; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a3; basic_30-datanet2=192.168.20.131; basic_30-datanet3=192.168.30.78; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 4f4b3308-e695-486c-bf25-510a30e65348 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.247; sa_08-vnf_with_v-external=192.168.90.136; sa_08-vnf_with_v-internal=192.168.185.190 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | BUILDING | INSTANTIATING (8b5a99d2-386d-4c22-bee0-131fef45da8c) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+--------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::277; basic_30-datanet2=192.168.20.134; basic_30-datanet3=192.168.30.50; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a3; basic_30-datanet2=192.168.20.131; basic_30-datanet3=192.168.30.78; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 4f4b3308-e695-486c-bf25-510a30e65348 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.247; sa_08-vnf_with_v-external=192.168.90.136; sa_08-vnf_with_v-internal=192.168.185.190 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+--------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::277; basic_30-datanet2=192.168.20.134; basic_30-datanet3=192.168.30.50; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a3; basic_30-datanet2=192.168.20.131; basic_30-datanet3=192.168.30.78; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 4f4b3308-e695-486c-bf25-510a30e65348 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.247; sa_08-vnf_with_v-external=192.168.90.136; sa_08-vnf_with_v-internal=192.168.185.190 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 15e8f51d-56c6-476c-9c7f-5bbb83597d0f | 2024-04-11T03:57:04 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 15e8f51d-56c6-476c-9c7f-5bbb83597d0f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 15e8f51d-56c6-476c-9c7f-5bbb83597d0f cluster_k8s daily regression sa_08 ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_1_name} msg=Prometheus first metric name is not available Fails unless the given variable exists within the current scope. ${metric_2_name} msg=Prometheus second metric name is not available Fails unless the given variable exists within the current scope. ${metric_1_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_1_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_1_filter} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ifIndex=1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ifIndex=1 ${param_name} = ifIndex ${param_value} = 1 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ifIndex="1", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D path_url=/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:58:49 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.247","job":"7890efe3a7bd4ffea4736528dc8bcf37"},"value":[1712807929.012,"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.247', ... ${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.247', 'job': '7890efe3a7bd4ffea4736528dc8bcf37'}, 'value': [1712807929.... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_1_value} = 2977 ${metric_1_value} <= 0 Fail msg=The metric '${metric_1_name}' value is '${metric_1_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_2_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} ${metric_2_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} ${metric_2_filter} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ifIndex=2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ifIndex=2 ${param_name} = ifIndex ${param_value} = 2 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ifIndex="2", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.36:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.36:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D path_url=/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.36:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 11 Apr 2024 03:58:49 GMT', 'Content-Length': '245'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifMtu","ifAlias":"VyOS-eth0","ifDescr":"Red Hat, Inc Device 0001","ifIndex":"2","ifName":"eth0","instance":"172.21.249.247","job":"7890efe3a7bd4ffea4736528dc8bcf37"},"value":[1712807929.034,"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.247', 'job': '7890efe3a7bd4ffea4736528dc8bcf3... ${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 | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::277; basic_30-datanet2=192.168.20.134; basic_30-datanet3=192.168.30.50; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a3; basic_30-datanet2=192.168.20.131; basic_30-datanet3=192.168.30.78; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 4f4b3308-e695-486c-bf25-510a30e65348 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.247; sa_08-vnf_with_v-external=192.168.90.136; sa_08-vnf_with_v-internal=192.168.185.190 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 0 ${stdout} = sa_08-vnf_with_vnf_indicators_snmp_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_08-vnf_with_vnf_indicators_snmp_test == sa_08-vnf_with_vnf_indicators_snmp_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 67de3e8e-8e3e-4b8e-8b31-ea9a95f26fbe | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::277; basic_30-datanet2=192.168.20.134; basic_30-datanet3=192.168.30.50; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 981e3e07-7a54-4332-9076-48c89b8bb0a3 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a3; basic_30-datanet2=192.168.20.131; basic_30-datanet3=192.168.30.78; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7d2033e2-3d42-47f6-9e4d-ab6ad37b2ffb | osm-v150-merge-116 | ACTIVE | osm-ext=172.21.249.190 | ubuntu22.04 | osm.sanity | | 078c6a79-72fd-4d2a-acc2-8ce3d7d50d35 | osm-master-merge-2951 | ACTIVE | osm-ext=172.21.249.165 | ubuntu22.04 | osm.sanity | | c0a72ef9-c219-46ba-a99b-c90edf12c5e5 | osm-v120-merge-710 | ACTIVE | osm-ext=172.21.249.36 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete snmp_ee-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep snmp_ee-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete snmp_ee-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep snmp_ee-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-08] VNF with VNF-based indicators through SNMP. '%{PACKAGES_FOLDER}/${vnfd1_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/slice_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_bas... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/slice_basic_vnf.tar.gz 59a4d8cd-838a-495d-91fa-3b2fde12b2f7 ${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} = 59a4d8cd-838a-495d-91fa-3b2fde12b2f7 '%{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 886f7189-fcad-4a9c-8d18-be33092f5554 ${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} = 886f7189-fcad-4a9c-8d18-be33092f5554 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 bff211d5-185c-427d-ac9d-792a1c366173 ${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} = bff211d5-185c-427d-ac9d-792a1c366173 '%{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 c94cccdd-c2aa-47dc-a478-6d3afd372aa5 ${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} = c94cccdd-c2aa-47dc-a478-6d3afd372aa5 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} = 3bd52554-5141-404a-9193-bd128007fd0d ${stdout} Logs the given message with the given level. 3bd52554-5141-404a-9193-bd128007fd0d ${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} = a3c18289-1853-4d14-9398-aa0402804280 ${stdout} Logs the given message with the given level. a3c18289-1853-4d14-9398-aa0402804280 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = a3c18289-1853-4d14-9398-aa0402804280 ${nsi_id} Logs the given message with the given level. a3c18289-1853-4d14-9398-aa0402804280 ${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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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 | a3c18289-1853-4d14-9398-aa0402804280 | 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} = a3c18289-1853-4d14-9398-aa0402804280 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = a3c18289-1853-4d14-9398-aa0402804280 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, 'a7c0563e-56ff-4c8c-b0df-d56ad7f57986') ${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 a7c0563e-56ff-4c8c-b0df-d56ad7f57986 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.39 ${stdout} Logs the given message with the given level. 172.21.249.39 ${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.39 '${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.39 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 | edb3d742-8774-4282-b87f-7829e37c3f0d 911a789e-a46b-497c-bcb5-cb3665b5e42a ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ edb3d742-8774-4282-b87f-7829e37c3f0d | 911a789e-a46b-497c-bcb5-cb3665b5e42a ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: edb3d742-8774-4282-b87f-7829e37c3f0d 1: 911a789e-a46b-497c-bcb5-cb3665b5e42a @{slice_ns_list} = [ edb3d742-8774-4282-b87f-7829e37c3f0d | 911a789e-a46b-497c-bcb5-cb3665b5e42a ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. edb3d742-8774-4282-b87f-7829e37c3f0d 911a789e-a46b-497c-bcb5-cb3665b5e42a @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} edb3d742-8774-4282-b87f-7829e37c3f0d ${ns_id} Logs the given message with the given level. edb3d742-8774-4282-b87f-7829e37c3f0d @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep edb3d742-8774-4282-b87f-7829e37c3f0d | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d @{vnf_id_list} = [ 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d ] @{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} 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d ${vnf_id} Logs the given message with the given level. 4a7f7a78-3c3f-4c4b-b442-fe8d572de94d @{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=4a7f7a78-3c3f-4c4b-b442-fe8d572de94d | 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.45 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.45 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.45 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.45 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.45 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.45 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.45 ] 911a789e-a46b-497c-bcb5-cb3665b5e42a ${ns_id} Logs the given message with the given level. 911a789e-a46b-497c-bcb5-cb3665b5e42a @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 911a789e-a46b-497c-bcb5-cb3665b5e42a | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 6c902abb-7c9d-450a-9e26-b25fb112c9b1 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 6c902abb-7c9d-450a-9e26-b25fb112c9b1 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 6c902abb-7c9d-450a-9e26-b25fb112c9b1 @{vnf_id_list} = [ 6c902abb-7c9d-450a-9e26-b25fb112c9b1 ] @{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} 6c902abb-7c9d-450a-9e26-b25fb112c9b1 ${vnf_id} Logs the given message with the given level. 6c902abb-7c9d-450a-9e26-b25fb112c9b1 @{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=6c902abb-7c9d-450a-9e26-b25fb112c9b1 | 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.46 ] ${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.46 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.46 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.46 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.46 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.46 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.45 | 172.21.248.46 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 172.21.249.45 1: 172.21.248.46 ${slice_vnfs_ips} ${temp_list} Makes a variable available everywhere within the scope of the current suite. ${slice_vnfs_ips} = ['172.21.249.45', '172.21.248.46'] 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.39 ${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.39 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.39 (172.21.249.39) 56(84) bytes of data. 64 bytes from 172.21.249.39: icmp_seq=1 ttl=63 time=2.53 ms 64 bytes from 172.21.249.39: icmp_seq=2 ttl=63 time=0.647 ms --- 172.21.249.39 pin... ${stdout} Logs the given message with the given level. PING 172.21.249.39 (172.21.249.39) 56(84) bytes of data. 64 bytes from 172.21.249.39: icmp_seq=1 ttl=63 time=2.53 ms 64 bytes from 172.21.249.39: icmp_seq=2 ttl=63 time=0.647 ms --- 172.21.249.39 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.647/1.586/2.526/0.939 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.39:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 04:02:44 UTC 2024 System load: 0.04 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.39 Memory usage: 12% IP address for ens4: 192.168.231.49 Swap usage: 0% IP address for ens5: 192.168.224.213 Processes: 88 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.39:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 04:02:47 UTC 2024 System load: 0.04 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.39 Memory usage: 12% IP address for ens4: 192.168.231.49 Swap usage: 0% IP address for ens5: 192.168.224.213 Processes: 88 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 04:02:45 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.249.45 ${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.45 > /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.46 ${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.46 > /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 f8f7b5a6-1e8b-478a-bca7-d4d065a8f7ed ${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} = f8f7b5a6-1e8b-478a-bca7-d4d065a8f7ed '%{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 194618f0-60e7-441a-91b9-7705dc84fcf6 ${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} = 194618f0-60e7-441a-91b9-7705dc84fcf6 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 4a2027a3-b6b2-40ed-bf41-d2e464ed5983 ${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} = 4a2027a3-b6b2-40ed-bf41-d2e464ed5983 '%{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 6feabf11-0c1b-4ce2-ab26-69255af5f7ad ${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} = 6feabf11-0c1b-4ce2-ab26-69255af5f7ad 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} = d2e0c484-fec0-4af9-8720-4b52a673bdd6 ${stdout} Logs the given message with the given level. d2e0c484-fec0-4af9-8720-4b52a673bdd6 ${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} = ab6f8c16-dc1e-49b6-82e9-197d0d256403 ${stdout} Logs the given message with the given level. ab6f8c16-dc1e-49b6-82e9-197d0d256403 ${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} = 313ae96f-fbd5-46f0-863c-cf4625b73430 ${stdout} Logs the given message with the given level. 313ae96f-fbd5-46f0-863c-cf4625b73430 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 313ae96f-fbd5-46f0-863c-cf4625b73430 ${nsi_id} Logs the given message with the given level. 313ae96f-fbd5-46f0-863c-cf4625b73430 ${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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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 | 313ae96f-fbd5-46f0-863c-cf4625b73430 | 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} = 313ae96f-fbd5-46f0-863c-cf4625b73430 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = 313ae96f-fbd5-46f0-863c-cf4625b73430 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} = 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e ${stdout} Logs the given message with the given level. 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e ${nsi_id} Logs the given message with the given level. 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e ${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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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 | 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e | 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} = 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e ${nsi2_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi2_id} = 2294989c-eb33-4f3b-96ab-4d09c3fbaf6e 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, '80a78621-0ab2-4cfd-89ac-90075a81f8e6') ${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 80a78621-0ab2-4cfd-89ac-90075a81f8e6 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.85 ${stdout} Logs the given message with the given level. 172.21.249.85 ${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.85 '${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.85 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 | e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 80a78621-0ab2-4cfd-89ac-90075a81f8e6 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 | 80a78621-0ab2-4cfd-89ac-90075a81f8e6 | 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 1: 80a78621-0ab2-4cfd-89ac-90075a81f8e6 2: 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 @{slice_ns_list} = [ e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 | 80a78621-0ab2-4cfd-89ac-90075a81f8e6 | 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 80a78621-0ab2-4cfd-89ac-90075a81f8e6 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 ${ns_id} Logs the given message with the given level. e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep e92d14b6-6fc2-4fe3-ba4d-27cfa2663e94 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | b1321b1f-32e2-4be1-8a17-6f817d1df534 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ b1321b1f-32e2-4be1-8a17-6f817d1df534 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: b1321b1f-32e2-4be1-8a17-6f817d1df534 @{vnf_id_list} = [ b1321b1f-32e2-4be1-8a17-6f817d1df534 ] @{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} b1321b1f-32e2-4be1-8a17-6f817d1df534 ${vnf_id} Logs the given message with the given level. b1321b1f-32e2-4be1-8a17-6f817d1df534 @{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=b1321b1f-32e2-4be1-8a17-6f817d1df534 | 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.250 ] ${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.250 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.250 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.250 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.250 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.250 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.250 ] 80a78621-0ab2-4cfd-89ac-90075a81f8e6 ${ns_id} Logs the given message with the given level. 80a78621-0ab2-4cfd-89ac-90075a81f8e6 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 80a78621-0ab2-4cfd-89ac-90075a81f8e6 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 099e2646-64b8-4a74-9ac5-29bb140c14f8 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 099e2646-64b8-4a74-9ac5-29bb140c14f8 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 099e2646-64b8-4a74-9ac5-29bb140c14f8 @{vnf_id_list} = [ 099e2646-64b8-4a74-9ac5-29bb140c14f8 ] @{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} 099e2646-64b8-4a74-9ac5-29bb140c14f8 ${vnf_id} Logs the given message with the given level. 099e2646-64b8-4a74-9ac5-29bb140c14f8 @{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=099e2646-64b8-4a74-9ac5-29bb140c14f8 | 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.85 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.85 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.85 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.85 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.85 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.85 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.250 | 172.21.249.85 ] 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 ${ns_id} Logs the given message with the given level. 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 41502691-c1d3-4ed7-9ba1-1e7d0e5e2953 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 @{vnf_id_list} = [ 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 ] @{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} 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 ${vnf_id} Logs the given message with the given level. 1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 @{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=1ed6c67c-b4e0-4c2a-8716-15c92ccb72d7 | 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.34 ] ${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.34 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.34 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.34 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.34 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.34 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.250 | 172.21.249.85 | 172.21.248.34 ] ${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.250 1: 172.21.249.85 2: 172.21.248.34 @{ip_list} = [ 172.21.248.250 | 172.21.249.85 | 172.21.248.34 ] ${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.250', '172.21.249.85', '172.21.248.34'] 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.85 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.85 (172.21.249.85) 56(84) bytes of data. 64 bytes from 172.21.249.85: icmp_seq=1 ttl=63 time=3.42 ms 64 bytes from 172.21.249.85: icmp_seq=2 ttl=63 time=0.646 ms --- 172.21.249.85 pin... ${stdout} Logs the given message with the given level. PING 172.21.249.85 (172.21.249.85) 56(84) bytes of data. 64 bytes from 172.21.249.85: icmp_seq=1 ttl=63 time=3.42 ms 64 bytes from 172.21.249.85: icmp_seq=2 ttl=63 time=0.646 ms --- 172.21.249.85 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.646/2.033/3.421/1.387 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.85:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 04:08:45 UTC 2024 System load: 0.09 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.85 Memory usage: 12% IP address for ens4: 192.168.48.83 Swap usage: 0% IP address for ens5: 192.168.186.81 Processes: 85 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file cluster_slices daily regression slice_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.85:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 04:08:48 UTC 2024 System load: 0.09 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.85 Memory usage: 12% IP address for ens4: 192.168.48.83 Swap usage: 0% IP address for ens5: 192.168.186.81 Processes: 85 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 04:08:46 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.250 ${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.250 > /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.85 ${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.85 > /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.34 ${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.34 > /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} = 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 | 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 @{slice_ns_list} = [ 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 ${ns_id} Logs the given message with the given level. 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 843d900c-ebd0-4ca2-a7ac-321f4b0885a5 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 29e1cfec-873b-470f-945b-e9c2c42ab014 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 29e1cfec-873b-470f-945b-e9c2c42ab014 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 29e1cfec-873b-470f-945b-e9c2c42ab014 @{vnf_id_list} = [ 29e1cfec-873b-470f-945b-e9c2c42ab014 ] @{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} 29e1cfec-873b-470f-945b-e9c2c42ab014 ${vnf_id} Logs the given message with the given level. 29e1cfec-873b-470f-945b-e9c2c42ab014 @{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=29e1cfec-873b-470f-945b-e9c2c42ab014 | 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.139 ] ${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.139 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.139 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.139 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.139 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.139 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.139 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.139 @{ip_list} = [ 172.21.249.139 ] ${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.139'] 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.85:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Apr 11 04:09:59 UTC 2024 System load: 0.02 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.85 Memory usage: 12% IP address for ens4: 192.168.48.83 Swap usage: 0% IP address for ens5: 192.168.186.81 Processes: 85 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Apr 11 04:08:48 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.139 ${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.139 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file and pings all the IP addresses in the list (slice2_vnfs_ips) cluster_slices daily regression slice_02 ${slice2_name} Delete Network Slice Instance (NSI) Parameters: slice_name: Name of the slice instance slice_delete_max_wait_time: Delete operation timeout Execution example: Delete NST ${slice_name} ${rc} ${stdout} osm nsi-delete ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-delete sliceshared 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_pol_time} Check For Network Slice Instance To Be Deleted ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. Stops the slice instance (slice2_name) cleanup cluster_slices daily regression slice_02 ${nst_name} ${rc} ${stdout} osm netslice-template-delete ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-delete slice_basic_nst 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} Runs the specified keyword and retries if it fails. ${nst_id} ${rc} ${stdout} osm netslice-template-list | awk '{print $2}' | grep ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-list | awk '{print $2}' | grep slice_basic_nst 2>&1'. ${rc} = 0 ${stdout} = slice_basic_nst2 ${stdout} ${nst_id} Fails if objects are equal after converting them to strings. Deletes the NST (nst_name) from OSM cleanup cluster_slices daily regression slice_02 ${nst2_name} ${rc} ${stdout} osm netslice-template-delete ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-delete slice_basic_nst2 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} Runs the specified keyword and retries if it fails. ${nst_id} ${rc} ${stdout} osm netslice-template-list | awk '{print $2}' | grep ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-list | awk '{print $2}' | grep slice_basic_nst2 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nst_id} Fails if objects are equal after converting them to strings. Deletes the NST (nst2_name) from OSM cleanup cluster_slices daily regression slice_02 ${nsd1_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. ${nsd2_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_middle_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_middle_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. Deletes all the NSDs created for the test: nsd1_name, nsd2_name cleanup cluster_slices daily regression slice_02 ${vnfd1_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd2_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_middle_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_middle_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. Deletes all the VNFDs created for the test: vnfd1_name, vnfd2_name cleanup cluster_slices daily regression slice_02 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptors, instance and templates Delete NSI ${slice_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSI ${slice2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NST ${nst_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NST ${nst2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd2_name} Runs the given keyword with the given arguments, if one or more tests failed. [SLICE-02] Shared Network Slicing. ${id} '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 9ad06125-792c-402b-be98-de1f697796d5 ${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} = 9ad06125-792c-402b-be98-de1f697796d5 ${id} = 9ad06125-792c-402b-be98-de1f697796d5 ${vnfid} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfid} = 9ad06125-792c-402b-be98-de1f697796d5 ${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} = ea755fa2-2151-4c74-a940-9da8fc602de1 ${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} = ea755fa2-2151-4c74-a940-9da8fc602de1 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = ea755fa2-2151-4c74-a940-9da8fc602de1 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.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:17 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x', 'Content-Length': '547', 'Set-Cookie': 'session_id=6d196e672689024e24ab15ea2f4b1d9f1a8b0584; expires=Thu, 11 Apr 2024 05:11:17 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808677.4282484, "expires": 1712812277.4282484, "_id": "CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x", "id": "CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 9581, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x ${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': 'ea755fa2-2151-4c74-a940-9da8fc602de1', 'addi... ${updated_json_obj} ${updated_json_obj} $..additionalParams.virtual-link-desc[0][id] %{VIM_MGMT_NET} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'ea755fa2-2151-4c74-a940-9da8fc602de1', 'addi... ${updated_json_obj} ${updated_json_obj} $..additionalParams.virtual-link-profile-id %{VIM_MGMT_NET} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'ea755fa2-2151-4c74-a940-9da8fc602de1', 'addi... ${updated_json_obj} Makes a variable available everywhere within the scope of the current test. ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'ea755fa2-2151-4c74-a940-9da8fc602de1', '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.36: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 CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x } ${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.36:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CSja2j5HXuuLeMOCKKa2S79GqYVRpu8x', 'Content-Length': '355'} body=b'{"vnfdId": "hackfest_basic_metrics-vnf", "vnfInstanceName": "sol003-instance", "vnfInstanceDescription": "Test vnfm instance description", "vimAccountId": "ea755fa2-2151-4c74-a940-9da8fc602de1", "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.36:9999/osm/vnflcm/v1/vnf_instances status=201, reason=Created headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:20 GMT', 'Location': '/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234', 'Content-Length': '53', 'Set-Cookie': 'session_id=143bcc71d6eefe1ba306ae848cbd9d168294bca2; expires=Thu, 11 Apr 2024 05:11:20 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [201]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [201]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 201 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 201 ${request_response.status_code} in ${success_status_code_list} Query VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['3771c26e-d4a6-4e1a-8843-bbc248965234'] ${createid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${createid} = 3771c26e-d4a6-4e1a-8843-bbc248965234 Test case to create a VNF Identifier cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:20 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc', 'Content-Length': '548', 'Set-Cookie': 'session_id=e15a2c0f89d0576129cf34c2f98c1cc5cd1869d1; expires=Thu, 11 Apr 2024 05:11:20 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808680.9510567, "expires": 1712812280.9510567, "_id": "W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc", "id": "W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 13499, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc ${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': 'ea755fa2-2151-4c74-a940-9da8fc602de1'} ${updated_json_obj} ${json_obj} $..vnfId ${createid} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '3771c26e-d4a6-4e1a-8843-bbc248965234', 'vimAccountId': 'ea755fa2-2151-4c74-a940-9da8fc602de1'} ${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': '3771c26e-d4a6-4e1a-8843-bbc248965234', 'vimAccountId': 'ea755fa2-2151-4c74-a940-9da8fc602de1'} ${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.36: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 W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc } ${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.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/instantiate path_url=/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/instantiate headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer W0Ojw0gRv5z05kSM61JgKzs4lL6RJDKc', 'Content-Length': '168'} body=b'{"vnfName": "sol003-instance", "vnfDescription": "vnf package", "vnfId": "3771c26e-d4a6-4e1a-8843-bbc248965234", "vimAccountId": "ea755fa2-2151-4c74-a940-9da8fc602de1"}' POST Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/instantiate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:23 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350', 'Content-Length': '53', 'Set-Cookie': 'session_id=f728d9b6f8c50a2078abb100651a21c7676af612; expires=Thu, 11 Apr 2024 05:11:23 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "e0312866-bfbb-4d96-a0a2-044235ce5350" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${request_response.status_code} in ${success_status_code_list} Instantiate VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['e0312866-bfbb-4d96-a0a2-044235ce5350'] ${instantiateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${instantiateid} = e0312866-bfbb-4d96-a0a2-044235ce5350 12s Pauses the test executed for the given time. Slept 12 seconds Test case to Instantiate a VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:35 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF', 'Content-Length': '547', 'Set-Cookie': 'session_id=32aab9a7cdf48100f1539917569157aeaca58c05; expires=Thu, 11 Apr 2024 05:11:35 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808695.2693622, "expires": 1712812295.2693622, "_id": "YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF", "id": "YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 5784, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF ${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.36: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 YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer YOl6gVxM2VzwTH2LB0k19e3IDjpQVCNF'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:37 GMT', 'Content-Length': '4519', 'Set-Cookie': 'session_id=9e3baea766eb381f1f69e04e2f6946f4e9a38c8b; expires=Thu, 11 Apr 2024 05:11:37 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "nsr-id-ref": "1d37d0f6-c81d-43d0-83c0-40a3e7d74234", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1712808680.8517454, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "9ad06125-792c-402b-be98-de1f697796d5", "vim-account-id": "ea755fa2-2151-4c74-a940-9da8fc602de1", "vca-id": null, "vdur": [ { "_id": "e0a481f7-46a2-49b2-b56e-b7e82f2acf1c", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "1d37d0f6-c81d-43d0-83c0-40a3e7d74234", "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": "ea755fa2-2151-4c74-a940-9da8fc602de1", "vnf_id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "vnfd_id": "9ad06125-792c-402b-be98-de1f697796d5", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "9ad06125-792c-402b-be98-de1f697796d5:file:cloud-config", "count-index": 0, "id": "e0a481f7-46a2-49b2-b56e-b7e82f2acf1c", "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:ea755fa2-2151-4c74-a940-9da8fc602de1": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "f8be761b-d983-43db-8725-386ed1dfec81", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "f8be761b-d983-43db-8725-386ed1dfec81" } ], "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": 1712808680.8518944, "modified": 1712808680.8518944, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "nsState": "INSTANTIATED" } } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} nsState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['INSTANTIATED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = INSTANTIATED ${value} = INSTANTIATED ${value} INSTANTIATED Fails if the given objects are unequal. ${request_response.status_code} in ${success_status_code_list} Query VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${id} = ['3771c26e-d4a6-4e1a-8843-bbc248965234', 'e0a481f7-46a2-49b2-b56e-b7e82f2acf1c'] ${Queryid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Queryid} = 3771c26e-d4a6-4e1a-8843-bbc248965234 Test case to query VNF Instance cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:37 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb', 'Content-Length': '546', 'Set-Cookie': 'session_id=a55b3db4ae9eb15b4ca18a56efa7e5a46b985afc; expires=Thu, 11 Apr 2024 05:11:37 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808697.468415, "expires": 1712812297.468415, "_id": "RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb", "id": "RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 42523, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb ${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.36: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 RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 path_url=/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer RzG5KrPdW63s5PTvELOlGepMGzlf8Bwb'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:39 GMT', 'Content-Length': '4071', 'Set-Cookie': 'session_id=9b74102bbd8d3ac6d70a2a1e725a284247bdd7b7; expires=Thu, 11 Apr 2024 05:11:39 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "nsr-id-ref": "1d37d0f6-c81d-43d0-83c0-40a3e7d74234", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1712808680.8517454, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "9ad06125-792c-402b-be98-de1f697796d5", "vim-account-id": "ea755fa2-2151-4c74-a940-9da8fc602de1", "vca-id": null, "vdur": [ { "_id": "e0a481f7-46a2-49b2-b56e-b7e82f2acf1c", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "1d37d0f6-c81d-43d0-83c0-40a3e7d74234", "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": "ea755fa2-2151-4c74-a940-9da8fc602de1", "vnf_id": "3771c26e-d4a6-4e1a-8843-bbc248965234", "vnfd_id": "9ad06125-792c-402b-be98-de1f697796d5", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "9ad06125-792c-402b-be98-de1f697796d5:file:cloud-config", "count-index": 0, "id": "e0a481f7-46a2-49b2-b56e-b7e82f2acf1c", "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:ea755fa2-2151-4c74-a940-9da8fc602de1": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "f8be761b-d983-43db-8725-386ed1dfec81", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "f8be761b-d983-43db-8725-386ed1dfec81" } ], "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": 1712808680.8518944, "modified": 1712808680.8518944, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "nsState": "INSTANTIATED" } } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} nsState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['INSTANTIATED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = INSTANTIATED ${value} = INSTANTIATED ${value} INSTANTIATED Fails if the given objects are unequal. ${RequestResponse.status_code} 200 Fails if objects are unequal after converting them to strings. Argument types are: <class 'int'> <class 'str'> ${id} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${id} = ['3771c26e-d4a6-4e1a-8843-bbc248965234', 'e0a481f7-46a2-49b2-b56e-b7e82f2acf1c'] ${Instanceid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Instanceid} = 3771c26e-d4a6-4e1a-8843-bbc248965234 Test case to query Vnf instance ID cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:39 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue', 'Content-Length': '548', 'Set-Cookie': 'session_id=06cb66626122abe3ab148f3427ed436cbdb6bef5; expires=Thu, 11 Apr 2024 05:11:39 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808699.6704302, "expires": 1712812299.6704302, "_id": "vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue", "id": "vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 34051, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue ${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.36: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 vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:41 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=c3475ac8746882773492fd604aa6eb94fc997e22; expires=Thu, 11 Apr 2024 05:11:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808683.1219277, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808698.6007674, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${ID1} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${ID1} = ['e0312866-bfbb-4d96-a0a2-044235ce5350'] ${lcmops} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmops} = e0312866-bfbb-4d96-a0a2-044235ce5350 ${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.36: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 vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:41 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=2962276c8cb723f438845524a78718944119fd6e; expires=Thu, 11 Apr 2024 05:11:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808683.1219277, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808698.6007674, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:11:51 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=fe902757a7acca70f7376d04ea22d98c755b8507; expires=Thu, 11 Apr 2024 05:11:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808683.1219277, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808698.6007674, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer vr0MHLTpqxbJ6F5epZRLEP2Z84Tkijue'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:02 GMT', 'Content-Length': '1154', 'Set-Cookie': 'session_id=740317eed39bdec815b129c7b04b7bbe2e9fd7a8; expires=Thu, 11 Apr 2024 05:12:02 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808713.6568007, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808713.6568017, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. Test case to Query VNF LCM operation cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:02 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn', 'Content-Length': '546', 'Set-Cookie': 'session_id=6bdd72e97089344e3d320ed77602ce66cc7b77ab; expires=Thu, 11 Apr 2024 05:12:02 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808722.109713, "expires": 1712812322.109713, "_id": "shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn", "id": "shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 56663, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn ${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.36: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 shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:04 GMT', 'Content-Length': '1026', 'Set-Cookie': 'session_id=0312fdfc2983447a7a4c6f04e42d00e49ca9055d; expires=Thu, 11 Apr 2024 05:12:04 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808713.6568007, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808713.6568017, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${ID1} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${ID1} = ['e0312866-bfbb-4d96-a0a2-044235ce5350'] ${lcmopsid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsid} = e0312866-bfbb-4d96-a0a2-044235ce5350 ${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.36: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 shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer shTsHgetlNih8Gg6T02M4c0JOd4Hvdcn'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:04 GMT', 'Content-Length': '1026', 'Set-Cookie': 'session_id=fa2a73feedfe9f4e637f314b2cb9d668a57e05b1; expires=Thu, 11 Apr 2024 05:12:04 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "id": "e0312866-bfbb-4d96-a0a2-044235ce5350", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808713.6568007, "lcmOperationType": "instantiate", "startTime": 1712808683.1219277, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808683.12196, "modified": 1712808713.6568017, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e0312866-bfbb-4d96-a0a2-044235ce5350", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:04 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/9eWUVdkoFn59U3WdPauU2cOeHeXGfavi', 'Content-Length': '546', 'Set-Cookie': 'session_id=920da27b2d1e2d5bfc82b010cd933cbcf3fc0d27; expires=Thu, 11 Apr 2024 05:12:04 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808724.358889, "expires": 1712812324.358889, "_id": "9eWUVdkoFn59U3WdPauU2cOeHeXGfavi", "id": "9eWUVdkoFn59U3WdPauU2cOeHeXGfavi", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 63909, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['9eWUVdkoFn59U3WdPauU2cOeHeXGfavi', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi ${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.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${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.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/scale path_url=/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/scale headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi', '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.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/scale status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:06 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe', 'Content-Length': '53', 'Set-Cookie': 'session_id=bc040d5ec4629fc02c4b859697bbecb7c56e9e0d; expires=Thu, 11 Apr 2024 05:12:06 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "d7251500-8511-44a0-999c-6c29917e3bfe" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${value} id ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['d7251500-8511-44a0-999c-6c29917e3bfe'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = d7251500-8511-44a0-999c-6c29917e3bfe ${value} = d7251500-8511-44a0-999c-6c29917e3bfe ${ID1} ${request_response.json()} $..id Get Value From JSON using JSONPath ${ID1} = ['d7251500-8511-44a0-999c-6c29917e3bfe'] ${scaleoutid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${scaleoutid} = d7251500-8511-44a0-999c-6c29917e3bfe ${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.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:06 GMT', 'Content-Length': '995', 'Set-Cookie': 'session_id=5556750e3efa67aea5caac6fac27ccb5f0263019; expires=Thu, 11 Apr 2024 05:12:06 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "d7251500-8511-44a0-999c-6c29917e3bfe", "id": "d7251500-8511-44a0-999c-6c29917e3bfe", "operationState": "PROCESSING", "queuePosition": null, "stage": null, "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808726.478665, "lcmOperationType": "scale", "startTime": 1712808726.478665, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808726.4786994, "modified": 1712808726.4786994, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${LcmopsScale} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${LcmopsScale} = ['d7251500-8511-44a0-999c-6c29917e3bfe'] ${lcmopsscaleid} ${LcmopsScale[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = d7251500-8511-44a0-999c-6c29917e3bfe ${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.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:06 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=0c0eec4d648f20dfc7e39529d6eceb0cae7b967f; expires=Thu, 11 Apr 2024 05:12:06 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "d7251500-8511-44a0-999c-6c29917e3bfe", "id": "d7251500-8511-44a0-999c-6c29917e3bfe", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808726.478665, "lcmOperationType": "scale", "startTime": 1712808726.478665, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808726.4786994, "modified": 1712808726.6838257, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:16 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=633586e9baafc0c588b180da20be53ebe289b3fe; expires=Thu, 11 Apr 2024 05:12:16 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "d7251500-8511-44a0-999c-6c29917e3bfe", "id": "d7251500-8511-44a0-999c-6c29917e3bfe", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808726.478665, "lcmOperationType": "scale", "startTime": 1712808726.478665, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808726.4786994, "modified": 1712808726.6838257, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:26 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=cdc93f84fa6abfd4ce7713e6d1598e0778d0cbb1; expires=Thu, 11 Apr 2024 05:12:26 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "d7251500-8511-44a0-999c-6c29917e3bfe", "id": "d7251500-8511-44a0-999c-6c29917e3bfe", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808726.478665, "lcmOperationType": "scale", "startTime": 1712808726.478665, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808726.4786994, "modified": 1712808726.6838257, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 3 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9eWUVdkoFn59U3WdPauU2cOeHeXGfavi'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:36 GMT', 'Content-Length': '1020', 'Set-Cookie': 'session_id=dfba06f3e73515f7058c932b7e53cafe40e7b33e; expires=Thu, 11 Apr 2024 05:12:36 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "d7251500-8511-44a0-999c-6c29917e3bfe", "id": "d7251500-8511-44a0-999c-6c29917e3bfe", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808756.744492, "lcmOperationType": "scale", "startTime": 1712808726.478665, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808726.4786994, "modified": 1712808756.7444928, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/d7251500-8511-44a0-999c-6c29917e3bfe", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. ${request_response.status_code} in ${success_status_code_list} Scale VNF instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to Scale out VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:37 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW', 'Content-Length': '548', 'Set-Cookie': 'session_id=e8b2ab6c8ea6f2a7bb2572b80862033fa24845b5; expires=Thu, 11 Apr 2024 05:12:37 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808757.1413708, "expires": 1712812357.1413708, "_id": "WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW", "id": "WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 50759, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW ${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.36: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 WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW } ${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.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/terminate path_url=/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/terminate headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW', 'Content-Length': '66'} body=b'{"terminationType": "GRACEFUL", "gracefulTerminationTimeout": "5"}' POST Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234/terminate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:39 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28', 'Content-Length': '53', 'Set-Cookie': 'session_id=e59bc5d73d495d06839ef643c710fe67287c77ef; expires=Thu, 11 Apr 2024 05:12:39 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "8d35205c-8e49-45df-a069-59b64c713b28" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['8d35205c-8e49-45df-a069-59b64c713b28'] ${terminateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${terminateid} = 8d35205c-8e49-45df-a069-59b64c713b28 ${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.36: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 WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:39 GMT', 'Content-Length': '1090', 'Set-Cookie': 'session_id=9521978669ac339a527ee9919f7cc57aa83233da; expires=Thu, 11 Apr 2024 05:12:39 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8d35205c-8e49-45df-a069-59b64c713b28", "id": "8d35205c-8e49-45df-a069-59b64c713b28", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808759.2582533, "lcmOperationType": "terminate", "startTime": 1712808759.2582533, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808759.2582834, "modified": 1712808759.3888974, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${LcmopsTerminate} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${LcmopsTerminate} = ['8d35205c-8e49-45df-a069-59b64c713b28'] ${lcmopsscaleid} ${LcmopsTerminate[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 8d35205c-8e49-45df-a069-59b64c713b28 ${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.36: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 WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:39 GMT', 'Content-Length': '1090', 'Set-Cookie': 'session_id=1c42f30a1d95855ee8a0d71a5f107635da3db598; expires=Thu, 11 Apr 2024 05:12:39 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8d35205c-8e49-45df-a069-59b64c713b28", "id": "8d35205c-8e49-45df-a069-59b64c713b28", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808759.2582533, "lcmOperationType": "terminate", "startTime": 1712808759.2582533, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808759.2582834, "modified": 1712808759.3888974, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:49 GMT', 'Content-Length': '1090', 'Set-Cookie': 'session_id=fed4c02fe9eaee99dcb2393d98bcbc302106e35c; expires=Thu, 11 Apr 2024 05:12:49 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8d35205c-8e49-45df-a069-59b64c713b28", "id": "8d35205c-8e49-45df-a069-59b64c713b28", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808759.2582533, "lcmOperationType": "terminate", "startTime": 1712808759.2582533, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808759.2582834, "modified": 1712808759.3888974, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.36: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 WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WqSLVumkmmhOcz6yhHT8TDzGKbHYFAnW'} body=None GET Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:59 GMT', 'Content-Length': '1025', 'Set-Cookie': 'session_id=6121dfa0e8179c0df657c4fc88ac6915df36f925; expires=Thu, 11 Apr 2024 05:12:59 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8d35205c-8e49-45df-a069-59b64c713b28", "id": "8d35205c-8e49-45df-a069-59b64c713b28", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1712808774.4673262, "lcmOperationType": "terminate", "startTime": 1712808759.2582533, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1712808759.2582834, "modified": 1712808774.467327, "projects_read": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "projects_write": [ "95079185-7c9a-4bd9-b18b-2be527e9a318" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8d35205c-8e49-45df-a069-59b64c713b28", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234" }, "vnfInstanceId": "3771c26e-d4a6-4e1a-8843-bbc248965234" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. ${request_response.status_code} in ${success_status_code_list} Terminate VNF instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to terminate the VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.36 ${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.36' 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.36:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.36: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.36:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.36:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:12:59 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/D5BmuFskqIei4W5E5kyuPw8DYvlIvarz', 'Content-Length': '548', 'Set-Cookie': 'session_id=413ae401e7e31de23d8398423c0f77d325593516; expires=Thu, 11 Apr 2024 05:12:59 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1712808779.6995869, "expires": 1712812379.6995869, "_id": "D5BmuFskqIei4W5E5kyuPw8DYvlIvarz", "id": "D5BmuFskqIei4W5E5kyuPw8DYvlIvarz", "project_id": "95079185-7c9a-4bd9-b18b-2be527e9a318", "project_name": "admin", "username": "admin", "user_id": "1fc6cff8-b7f0-4a04-b690-4741fbe64ce6", "admin": true, "roles": [ { "name": "system_admin", "id": "742e092a-b220-4105-b680-2fed666cb6bd" } ], "remote_port": 27835, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['D5BmuFskqIei4W5E5kyuPw8DYvlIvarz', '742e092a-b220-4105-b680-2fed666cb6bd'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = D5BmuFskqIei4W5E5kyuPw8DYvlIvarz ${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.36: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 D5BmuFskqIei4W5E5kyuPw8DYvlIvarz } ${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.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 path_url=/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer D5BmuFskqIei4W5E5kyuPw8DYvlIvarz', 'Content-Length': '0'} body=None DELETE Response : url=https://172.21.249.36:9999/osm/vnflcm/v1/vnf_instances/3771c26e-d4a6-4e1a-8843-bbc248965234 status=204, reason=No Content headers={'Content-Type': 'text/html;charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 11 Apr 2024 04:13:01 GMT', 'Set-Cookie': 'session_id=cc014eb5257f1e88a87d02e5e432ad9afd70935e; expires=Thu, 11 Apr 2024 05:13:01 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=None /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.36'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [204]> ${resp.status_code} in ${success_status_code_list} Delete VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to delete VNF cluster_sol003 daily sol003_01 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sol003 daily sol003_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SOL003-01] Sol003 Api testing All Tests basic_01 basic_05 basic_06 basic_07 basic_08 basic_09 basic_11 basic_12 basic_13 basic_14 basic_15 basic_16 basic_17 basic_18 basic_19 basic_20 basic_21 basic_22 basic_23 basic_24 basic_25 cleanup cluster_ee_config cluster_epa cluster_heal cluster_k8s cluster_k8s_charms cluster_main cluster_relations cluster_sa cluster_slices cluster_sol003 daily epa_01 epa_02 epa_03 epa_04 fail_01 hackfest_basic hackfest_cloudinit hackfest_multivdu heal_01 heal_02 heal_03 heal_04 k8s_02 k8s_03 k8s_04 k8s_05 k8s_06 k8s_07 k8s_08 k8s_09 k8s_10 k8s_12 prepare quotas_01 regression sa_01 sa_02 sa_07 sa_08 sanity slice_01 slice_02 sol003_01 verify Testsuite Testsuite.Basic 01-Crud Operations On Vim Targets Testsuite.Basic 05-Instantiation Parameters In Cloud Init Testsuite.Basic 06-Vnf With Charm Testsuite.Basic 07-Secure Key Management Testsuite.Basic 08-Disable Port Security Network Level Testsuite.Basic 09-Manual Vdu Scaling Testsuite.Basic 11-Native Charms Testsuite.Basic 12-Ns Primitives Testsuite.Basic 13-Ns Relations Testsuite.Basic 14-Vnf Relations Testsuite.Basic 15-Rbac Configurations Testsuite.Basic 16-Advanced Onboarding And Scaling Testsuite.Basic 17-Delete Vnf Package Testsuite.Basic 18-Ns Ip Profile Testsuite.Basic 19-Vnf Ip Profile Testsuite.Basic 20-Manual Native Charm Vdu Scaling Testsuite.Basic 21-Support Of Volumes Testsuite.Basic 22-Cross Model Relations Testsuite.Basic 23-Sol004 Sol007 Packages Testsuite.Basic 24-Affinity Groups Testsuite.Basic 25-Update Charm In Running Vnf Instance Testsuite.Epa 01-Epa Sriov Testsuite.Epa 02-Additional Capabilities Testsuite.Epa 03-Crud Operations On Sdnc Testsuite.Epa 04-Epa Underlay Sriov Testsuite.Fail 01-Insufficient Resources Testsuite.Hackfest Basic Testsuite.Hackfest Cloudinit Testsuite.Hackfest Multivdu Testsuite.Heal 01-Volume Vdu Healing Testsuite.Heal 02-Scale Vdu Healing Testsuite.Heal 03-Multiple Healing Testsuite.Heal 04-Autohealing Testsuite.K8S 02-K8Scluster Creation Testsuite.K8S 03-Simple K8S Testsuite.K8S 04-Openldap Helm Testsuite.K8S 05-K8S Proxy Charms Testsuite.K8S 06-K8S Secure Key Management Testsuite.K8S 07-Dummy Helm Testsuite.K8S 08-Simple K8S Scaling Testsuite.K8S 09-Pebble Charm K8S Testsuite.K8S 10-Sol004 Sol007 With K8S Proxy Charms Testsuite.K8S 12-Openldap Helm Day-2 Testsuite.Quotas 01-Quota Enforcement Testsuite.Sa 01-Vnf With Vim Metrics Testsuite.Sa 02-Vnf With Vim Metrics And Autoscaling Testsuite.Sa 07-Alarms From Sa-Related Vnfs Testsuite.Sa 08-Vnf With Vnf Indicators Snmp Testsuite.Slice 01-Network Slicing Testsuite.Slice 02-Shared Network Slicing Testsuite.Sol003 01-Vnf-Lifecycle-Management