'${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} = 555079 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_555079 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_555079 ${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_555079 --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_555079 --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} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${stdout} Logs the given message with the given level. 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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_555079 " | 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_555079 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${param_name} = vim_account_id ${param_value} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="63c30f96-0850-4cb2-b9e0-f3d0691a7ff2", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:39:43 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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${param_name} = vim_account_id ${param_value} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="63c30f96-0850-4cb2-b9e0-f3d0691a7ff2", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:39:58 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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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=63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${param_name} = vim_account_id ${param_value} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="63c30f96-0850-4cb2-b9e0-f3d0691a7ff2", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2263c30f96-0850-4cb2-b9e0-f3d0691a7ff2%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:40:13 GMT', 'Content-Length': '235'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vim_account_id":"63c30f96-0850-4cb2-b9e0-f3d0691a7ff2"},"value":[1713228013.193,"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': '846d7488-43b0-414f-9a1a-e701d8... ${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': '846d7488-43b0-414f-9a1a-e701d83b87cd', 'vim_account_id': '63c30f96-0850-4cb2-b9e0-f3d0691a7ff2'... ${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_555079 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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} = 63c30f96-0850-4cb2-b9e0-f3d0691a7ff2 ${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_555079 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_555079 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} = 838057 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_838057 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_838057 ${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_838057 --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_838057 --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_838057 --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} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${stdout} Logs the given message with the given level. e82f41c0-b15e-4e25-b802-6f475fc06cde ${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} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${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_838057 " | 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_838057 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${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} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${param_name} = vim_account_id ${param_value} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="e82f41c0-b15e-4e25-b802-6f475fc06cde", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:40:21 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${param_name} = vim_account_id ${param_value} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="e82f41c0-b15e-4e25-b802-6f475fc06cde", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:40:36 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${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=e82f41c0-b15e-4e25-b802-6f475fc06cde ${param_name} = vim_account_id ${param_value} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="e82f41c0-b15e-4e25-b802-6f475fc06cde", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22e82f41c0-b15e-4e25-b802-6f475fc06cde%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:40:51 GMT', 'Content-Length': '234'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vim_account_id":"e82f41c0-b15e-4e25-b802-6f475fc06cde"},"value":[1713228051.758,"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': '846d7488-43b0-414f-9a1a-e701d8... ${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': '846d7488-43b0-414f-9a1a-e701d83b87cd', 'vim_account_id': 'e82f41c0-b15e-4e25-b802-6f475fc06cde'... ${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_838057 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${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} = e82f41c0-b15e-4e25-b802-6f475fc06cde ${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 e82f41c0-b15e-4e25-b802-6f475fc06cde 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 e82f41c0-b15e-4e25-b802-6f475fc06cde 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 7bc00fb5-a8f2-4d30-b08f-f130ccc4cc0c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7bc00fb5-a8f2-4d30-b08f-f130ccc4cc0c 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 d92daccd-c458-4445-a460-da34b625171d ${rc} ${success_return_code} Fails if objects are unequal after 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} = d92daccd-c458-4445-a460-da34b625171d 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} = 00e683bb-f826-4498-8114-8fa4cc7fd373 ${stdout} Logs the given message with the given level. 00e683bb-f826-4498-8114-8fa4cc7fd373 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 00e683bb-f826-4498-8114-8fa4cc7fd373 ${ns_id} Logs the given message with the given level. 00e683bb-f826-4498-8114-8fa4cc7fd373 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41:00 | BUILDING | INSTANTIATING (a97d93b6-86bb-4470-ac74-e5860243e8c4) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41:00 | BUILDING | INSTANTIATING (a97d93b6-86bb-4470-ac74-e5860243e8c4) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41:00 | BUILDING | INSTANTIATING (a97d93b6-86bb-4470-ac74-e5860243e8c4) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41:00 | BUILDING | INSTANTIATING (a97d93b6-86bb-4470-ac74-e5860243e8c4) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41: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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 00e683bb-f826-4498-8114-8fa4cc7fd373 | 2024-04-16T00:41: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} = 00e683bb-f826-4498-8114-8fa4cc7fd373 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 00e683bb-f826-4498-8114-8fa4cc7fd373 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 00e683bb-f826-4498-8114-8fa4cc7fd373 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.24 ${stdout} Logs the given message with the given level. 172.21.249.24 ${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.24 ${ip_addr} Logs the given message with the given level. 172.21.249.24 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.24 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.24:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:42:43 UTC 2024 System load: 0.08 Processes: 97 Usage of /: 11.5% of 9.52GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.24 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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ef7e8fd1-8acf-4bf4-8afb-2f60f95199ce ${rc} ${success_return_code} Fails if objects are unequal after 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} = ef7e8fd1-8acf-4bf4-8afb-2f60f95199ce 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 bf6ffd07-64a6-4525-bfe1-f4adf80f4a50 ${rc} ${success_return_code} Fails if objects are unequal after 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} = bf6ffd07-64a6-4525-bfe1-f4adf80f4a50 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} = 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e ${stdout} Logs the given message with the given level. 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e ${ns_id} Logs the given message with the given level. 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 959b32fd-5d57-41ca-9321-7eb4b6892f10 | fail_01_9746-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | BUILDING | INSTANTIATING (662b402c-d029-4ee1-899a-a7006e56f1fe) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 959b32fd-5d57-41ca-9321-7eb4b6892f10 | fail_01_9746-vnf-mgmtVM-0 | ACTIVE | fail_01_9746-internal=192.168.198.97; osm-ext=172.21.249.24 | ubuntu20.04 | simple_requires-1-1-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 959b32fd-5d57-41ca-9321-7eb4b6892f10 | fail_01_9746-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu20.04 | simple_requires-1-1-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | 2024-04-16T00:43:19 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e 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 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.73 ${stdout} Logs the given message with the given level. 172.21.248.73 ${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.73 ${ip_addr_1} Logs the given message with the given level. 172.21.248.73 ${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.73 ${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 039f63aa-dfd8-493d-9c5e-a51fbe2a9e5e | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.76 ${stdout} Logs the given message with the given level. 172.21.248.76 ${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.76 ${ip_addr_2} Logs the given message with the given level. 172.21.248.76 ${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.76 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.248.73:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:09 UTC 2024 System load: 0.14 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.73 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.76:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:11 UTC 2024 System load: 0.12 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.76 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.248.73:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:13 UTC 2024 System load: 0.12 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.73 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:46:10 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.76:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:15 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.76 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:46:11 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-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} = 262cf637-6ae0-4a00-b06f-a70dcec47233 ${rc} ${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 262cf637-6ae0-4a00-b06f-a70dcec47233 --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 262cf637-6ae0-4a00-b06f-a70dcec47233 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 262cf637-6ae0-4a00-b06f-a70dcec47233 --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 262cf637-6ae0-4a00-b06f-a70dcec47233 --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} = 262cf637-6ae0-4a00-b06f-a70dcec47233 ${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} = 0edfe08a-732d-42a2-8baf-70ee908f6e7c ${rc} ${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 0edfe08a-732d-42a2-8baf-70ee908f6e7c --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 0edfe08a-732d-42a2-8baf-70ee908f6e7c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0edfe08a-732d-42a2-8baf-70ee908f6e7c --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 0edfe08a-732d-42a2-8baf-70ee908f6e7c --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} = 0edfe08a-732d-42a2-8baf-70ee908f6e7c 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.248.73:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:56 UTC 2024 System load: 0.06 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.73 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:46:13 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-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.76:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:46:58 UTC 2024 System load: 0.06 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.76 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:46: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-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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 6a582d03-0a3b-4250-bbc6-8d61fe553fb2 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.208 | ubuntu20.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 6a582d03-0a3b-4250-bbc6-8d61fe553fb2 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.208 | ubuntu20.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 4e793844-acca-442d-a925-cee506c39cd6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 4e793844-acca-442d-a925-cee506c39cd6 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 f9a806ff-a2dc-4987-b511-b44c2f798b15 ${rc} ${success_return_code} Fails if objects are unequal after 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} = f9a806ff-a2dc-4987-b511-b44c2f798b15 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} = 2befeac6-03d7-472b-a220-6ea69e6d2aad ${stdout} Logs the given message with the given level. 2befeac6-03d7-472b-a220-6ea69e6d2aad ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2befeac6-03d7-472b-a220-6ea69e6d2aad ${ns_id} Logs the given message with the given level. 2befeac6-03d7-472b-a220-6ea69e6d2aad ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.102; hfcloudinit-internal=192.168.200.11 | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.200.231; osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.47; hfcloudinit-internal=192.168.66.25 | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | osm.heal02_935690 | | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.102; hfcloudinit-internal=192.168.200.11 | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.200.231; osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.47; hfcloudinit-internal=192.168.66.25 | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47:51 | BUILDING | INSTANTIATING (205e404e-49bc-41e2-835f-f521832e68e2) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47: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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2befeac6-03d7-472b-a220-6ea69e6d2aad | 2024-04-16T00:47: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} = 2befeac6-03d7-472b-a220-6ea69e6d2aad 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} = 2befeac6-03d7-472b-a220-6ea69e6d2aad ${stdout} Logs the given message with the given level. 2befeac6-03d7-472b-a220-6ea69e6d2aad ${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} = 2befeac6-03d7-472b-a220-6ea69e6d2aad ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2befeac6-03d7-472b-a220-6ea69e6d2aad 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 2befeac6-03d7-472b-a220-6ea69e6d2aad | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.117 ${stdout} Logs the given message with the given level. 172.21.248.117 ${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.117 ${ip_addr} Logs the given message with the given level. 172.21.248.117 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.117 basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} msg=IP address of the management VNF is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.117:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:50:42 UTC 2024 System load: 0.25 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.117 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.117:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:50:43 UTC 2024 System load: 0.23 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.117 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:50: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-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} = 89b02b36-6951-42fa-9b88-9d99611d2c76 ${rc} ${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 89b02b36-6951-42fa-9b88-9d99611d2c76 --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 89b02b36-6951-42fa-9b88-9d99611d2c76 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 89b02b36-6951-42fa-9b88-9d99611d2c76 --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 89b02b36-6951-42fa-9b88-9d99611d2c76 --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} = 89b02b36-6951-42fa-9b88-9d99611d2c76 Performs one Day 2 operation that creates a new file, this action is executed without password too. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_2_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.117:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:51:05 UTC 2024 System load: 0.16 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.117 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 00:50: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@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} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 5343ef1c-fc74-42b7-97b0-f3edb32cd39f | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.86; hfmultivdu-internal=192.168.63.153 | ubuntu20.04 | simple_requires-1-1-flv | | e7fde925-4b49-4211-9034-5338eb582b78 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.63.168; osm-ext=172.21.248.233 | ubuntu20.04 | simple_requires-1-1-flv | | 0dd22460-48b3-4f16-be4b-c3e4d2989046 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.230; hfmultivdu-internal=192.168.160.86 | ubuntu20.04 | simple_requires-1-1-flv | | 7bd5656d-204c-40f9-b067-638813941c75 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.160.121; osm-ext=172.21.248.205 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 5343ef1c-fc74-42b7-97b0-f3edb32cd39f | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.86; hfmultivdu-internal=192.168.63.153 | ubuntu20.04 | simple_requires-1-1-flv | | e7fde925-4b49-4211-9034-5338eb582b78 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.63.168; osm-ext=172.21.248.233 | ubuntu20.04 | simple_requires-1-1-flv | | 0dd22460-48b3-4f16-be4b-c3e4d2989046 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.230; hfmultivdu-internal=192.168.160.86 | ubuntu20.04 | simple_requires-1-1-flv | | 7bd5656d-204c-40f9-b067-638813941c75 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.160.121; osm-ext=172.21.248.205 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 5343ef1c-fc74-42b7-97b0-f3edb32cd39f | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.86; hfmultivdu-internal=192.168.63.153 | ubuntu20.04 | simple_requires-1-1-flv | | e7fde925-4b49-4211-9034-5338eb582b78 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.63.168; osm-ext=172.21.248.233 | ubuntu20.04 | simple_requires-1-1-flv | | 0dd22460-48b3-4f16-be4b-c3e4d2989046 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.230; hfmultivdu-internal=192.168.160.86 | ubuntu20.04 | simple_requires-1-1-flv | | 7bd5656d-204c-40f9-b067-638813941c75 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.160.121; osm-ext=172.21.248.205 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 333b3f14-5021-432f-a062-070e20a88b86 ${stdout} Logs the given message with the given level. 333b3f14-5021-432f-a062-070e20a88b86 ${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} = 333b3f14-5021-432f-a062-070e20a88b86 ${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} = 333b3f14-5021-432f-a062-070e20a88b86 ${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} = 333b3f14-5021-432f-a062-070e20a88b86 ${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=333b3f14-5021-432f-a062-070e20a88b86 ${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=333b3f14-5021-432f-a062-070e20a88b86 ${param_name} = vim_account_id ${param_value} = 333b3f14-5021-432f-a062-070e20a88b86 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="333b3f14-5021-432f-a062-070e20a88b86", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:51:55 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=333b3f14-5021-432f-a062-070e20a88b86 ${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=333b3f14-5021-432f-a062-070e20a88b86 ${param_name} = vim_account_id ${param_value} = 333b3f14-5021-432f-a062-070e20a88b86 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="333b3f14-5021-432f-a062-070e20a88b86", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:52:10 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=333b3f14-5021-432f-a062-070e20a88b86 ${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=333b3f14-5021-432f-a062-070e20a88b86 ${param_name} = vim_account_id ${param_value} = 333b3f14-5021-432f-a062-070e20a88b86 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="333b3f14-5021-432f-a062-070e20a88b86", ${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.229: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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%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.229:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22333b3f14-5021-432f-a062-070e20a88b86%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:52:25 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vim_account_id":"333b3f14-5021-432f-a062-070e20a88b86"},"value":[1713228745.358,"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': '846d7488-43b0-414f-9a1a-e701d8... ${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': '846d7488-43b0-414f-9a1a-e701d83b87cd', 'vim_account_id': '333b3f14-5021-432f-a062-070e20a88b86'... ${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 3be0eeb3-fe47-4877-a1b9-fc8375531b58 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3be0eeb3-fe47-4877-a1b9-fc8375531b58 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 34c0c140-6e0a-41bb-b1a6-16fa1cee5526 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 34c0c140-6e0a-41bb-b1a6-16fa1cee5526 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} = b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b ${stdout} Logs the given message with the given level. b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b ${ns_id} Logs the given message with the given level. b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 5343ef1c-fc74-42b7-97b0-f3edb32cd39f | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.86; hfmultivdu-internal=192.168.63.153 | ubuntu20.04 | simple_requires-1-1-flv | | e7fde925-4b49-4211-9034-5338eb582b78 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.63.168; osm-ext=172.21.248.233 | ubuntu20.04 | simple_requires-1-1-flv | | 0dd22460-48b3-4f16-be4b-c3e4d2989046 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.183.230; hfmultivdu-internal=192.168.160.86 | ubuntu20.04 | simple_requires-1-1-flv | | 7bd5656d-204c-40f9-b067-638813941c75 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.160.121; osm-ext=172.21.248.205 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52:30 | BUILDING | INSTANTIATING (f88474ea-4746-407c-b8fa-b3f898bc2a83) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52:30 | BUILDING | INSTANTIATING (f88474ea-4746-407c-b8fa-b3f898bc2a83) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | f675eef3-81a3-4e6a-9104-c70868d73ade | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 163e02b6-68de-45c3-93e7-e40171dafc30 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | fdce8b5f-ceed-40a5-b423-2ea3fbd6292b | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | fc39f3f6-9cce-4e89-98d5-08d11e90618b | basic_08_disable-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ERROR | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52:30 | BUILDING | INSTANTIATING (f88474ea-4746-407c-b8fa-b3f898bc2a83) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52:30 | BUILDING | INSTANTIATING (f88474ea-4746-407c-b8fa-b3f898bc2a83) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+----... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | f675eef3-81a3-4e6a-9104-c70868d73ade | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.123; basic_08_disable-internal=192.168.23.26 | ubuntu20.04 | simple_requires-1-1-flv | | 163e02b6-68de-45c3-93e7-e40171dafc30 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.23.80; osm-ext=172.21.248.185 | ubuntu20.04 | simple_requires-1-1-flv | | fdce8b5f-ceed-40a5-b423-2ea3fbd6292b | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.103; basic_08_disable-internal=192.168.134.186 | ubuntu20.04 | simple_requires-1-1-flv | | fc39f3f6-9cce-4e89-98d5-08d11e90618b | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.134.82; osm-ext=172.21.248.163 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52: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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | f675eef3-81a3-4e6a-9104-c70868d73ade | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.123; basic_08_disable-internal=192.168.23.26 | ubuntu20.04 | simple_requires-1-1-flv | | 163e02b6-68de-45c3-93e7-e40171dafc30 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.23.80; osm-ext=172.21.248.185 | ubuntu20.04 | simple_requires-1-1-flv | | fdce8b5f-ceed-40a5-b423-2ea3fbd6292b | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.103; basic_08_disable-internal=192.168.134.186 | ubuntu20.04 | simple_requires-1-1-flv | | fc39f3f6-9cce-4e89-98d5-08d11e90618b | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.134.82; osm-ext=172.21.248.163 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b | 2024-04-16T00:52: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} = b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b8f6b6c9-59ea-46f9-ad05-5f36c8d8952b 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | f675eef3-81a3-4e6a-9104-c70868d73ade | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.123; basic_08_disable-internal=192.168.23.26 | ubuntu20.04 | simple_requires-1-1-flv | | 163e02b6-68de-45c3-93e7-e40171dafc30 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.23.80; osm-ext=172.21.248.185 | ubuntu20.04 | simple_requires-1-1-flv | | fdce8b5f-ceed-40a5-b423-2ea3fbd6292b | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.34.103; basic_08_disable-internal=192.168.134.186 | ubuntu20.04 | simple_requires-1-1-flv | | fc39f3f6-9cce-4e89-98d5-08d11e90618b | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.134.82; osm-ext=172.21.248.163 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | f675eef3-81a3-4e6a-9104-c70868d73ade | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.23.26 | ubuntu20.04 | simple_requires-1-1-flv | | 163e02b6-68de-45c3-93e7-e40171dafc30 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.23.80; osm-ext=172.21.248.185 | ubuntu20.04 | simple_requires-1-1-flv | | fdce8b5f-ceed-40a5-b423-2ea3fbd6292b | basic_08_disable-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | fc39f3f6-9cce-4e89-98d5-08d11e90618b | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.163 | ubuntu20.04 | simple_requires-1-1-flv | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 07d76843-7fc7-4292-a537-dd7dc375a0e4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 07d76843-7fc7-4292-a537-dd7dc375a0e4 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 1eee2fde-eeac-4909-b723-285463779c39 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1eee2fde-eeac-4909-b723-285463779c39 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} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${stdout} Logs the given message with the given level. 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${ns_id} Logs the given message with the given level. 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 | 2024-04-16T00:54:38 | BUILDING | INSTANTIATING (3ef26282-5439-41d3-a78b-e30bcc8686b4) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 | 2024-04-16T00:54:38 | BUILDING | INSTANTIATING (3ef26282-5439-41d3-a78b-e30bcc8686b4) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9f927acc-6f5b-42dc-b87a-3bb8ff325158 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.45 | ubuntu20.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 | 2024-04-16T00:54: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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9f927acc-6f5b-42dc-b87a-3bb8ff325158 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.45 | ubuntu20.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 | 2024-04-16T00:54: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} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 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} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${stdout} Logs the given message with the given level. 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${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} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 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 012ff31d-3970-4a07-8ce8-47f0f1ed2e68 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e707fc53-ce47-4c7c-b034-5d25ca83bc3e ${rc} ${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} = [ e707fc53-ce47-4c7c-b034-5d25ca83bc3e ] @{vnfr_list} = [ e707fc53-ce47-4c7c-b034-5d25ca83bc3e ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: e707fc53-ce47-4c7c-b034-5d25ca83bc3e ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = e707fc53-ce47-4c7c-b034-5d25ca83bc3e 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 e707fc53-ce47-4c7c-b034-5d25ca83bc3e --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} = 49372e19-947a-438a-99dd-2c853e9de189 ${rc} ${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 49372e19-947a-438a-99dd-2c853e9de189 --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 49372e19-947a-438a-99dd-2c853e9de189 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 49372e19-947a-438a-99dd-2c853e9de189 --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 49372e19-947a-438a-99dd-2c853e9de189 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 49372e19-947a-438a-99dd-2c853e9de189 --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 49372e19-947a-438a-99dd-2c853e9de189 --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} = 49372e19-947a-438a-99dd-2c853e9de189 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 e707fc53-ce47-4c7c-b034-5d25ca83bc3e --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} = 6250b3de-72b6-426e-8771-76922301b088 ${rc} ${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 6250b3de-72b6-426e-8771-76922301b088 --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 6250b3de-72b6-426e-8771-76922301b088 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6250b3de-72b6-426e-8771-76922301b088 --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 6250b3de-72b6-426e-8771-76922301b088 --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} = 6250b3de-72b6-426e-8771-76922301b088 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 e707fc53-ce47-4c7c-b034-5d25ca83bc3e --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 1 ${vdurs} = 1 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_09 cluster_main daily regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_09_manual_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9f927acc-6f5b-42dc-b87a-3bb8ff325158 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.45 | ubuntu20.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 c5a06adb-a7ba-4c9f-b5db-613e6da4fa22 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c5a06adb-a7ba-4c9f-b5db-613e6da4fa22 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 e24c9c70-43b6-46da-af16-2b57290837a8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = e24c9c70-43b6-46da-af16-2b57290837a8 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} = 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 ${stdout} Logs the given message with the given level. 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 ${ns_id} Logs the given message with the given level. 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | BUILDING | INSTANTIATING (f2992b93-5eeb-4299-b637-2634b32e1bee) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | 2024-04-16T00:56:57 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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} = 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 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 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.179 ${stdout} Logs the given message with the given level. 172.21.248.179 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.248.179 ${ip_addr_1} Logs the given message with the given level. 172.21.248.179 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.248.179 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 5ce3e2e6-cd24-4303-b0fe-af18a1ccfc65 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.27 ${stdout} Logs the given message with the given level. 172.21.248.27 ${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.27 ${ip_addr_2} Logs the given message with the given level. 172.21.248.27 ${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.27 basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.179:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 01:01:26 UTC 2024 System load: 0.43 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.179 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.27:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 01:01:28 UTC 2024 System load: 0.22 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.27 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.179:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 01:01:30 UTC 2024 System load: 0.39 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.179 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Tue Apr 16 01:01:26 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.27:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 01:01:32 UTC 2024 System load: 0.2 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.27 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Tue Apr 16 01:01:28 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 908fd5db-fda9-4eba-838e-247e304d850d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 908fd5db-fda9-4eba-838e-247e304d850d '%{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 538376c7-146b-4519-9d53-1390cb03901b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 538376c7-146b-4519-9d53-1390cb03901b 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 46f02950-fd2b-46e0-ba93-158162e53f4a ${rc} ${success_return_code} Fails if objects are unequal after 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} = 46f02950-fd2b-46e0-ba93-158162e53f4a 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} = c7c45d7b-b3e3-419f-a894-6c50cb090334 ${stdout} Logs the given message with the given level. c7c45d7b-b3e3-419f-a894-6c50cb090334 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c7c45d7b-b3e3-419f-a894-6c50cb090334 ${ns_id} Logs the given message with the given level. c7c45d7b-b3e3-419f-a894-6c50cb090334 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | BUILDING | INSTANTIATING (0b354d04-8206-4127-aa1a-32aa67cd3b79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c7c45d7b-b3e3-419f-a894-6c50cb090334 | 2024-04-16T01:02:44 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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} = c7c45d7b-b3e3-419f-a894-6c50cb090334 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c7c45d7b-b3e3-419f-a894-6c50cb090334 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 2f1892eb-2eab-45d3-9a00-cceb2a80d20d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2f1892eb-2eab-45d3-9a00-cceb2a80d20d 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 b2727691-4325-4630-8c41-e9d0693d5944 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b2727691-4325-4630-8c41-e9d0693d5944 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 e3381fd8-c10d-459b-a9f2-930f35ae0c12 ${rc} ${success_return_code} Fails if objects are unequal after 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} = e3381fd8-c10d-459b-a9f2-930f35ae0c12 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} = f73cddec-6125-4b0f-b1a7-d24753142515 ${stdout} Logs the given message with the given level. f73cddec-6125-4b0f-b1a7-d24753142515 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f73cddec-6125-4b0f-b1a7-d24753142515 ${ns_id} Logs the given message with the given level. f73cddec-6125-4b0f-b1a7-d24753142515 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 54ea9036-f97b-44c5-a499-bee0008e4988 | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ERROR | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | BUILDING | INSTANTIATING (fadef1c5-9bfb-4e7f-88b9-26fbda7b515a) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | f73cddec-6125-4b0f-b1a7-d24753142515 | 2024-04-16T01:06:32 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f73cddec-6125-4b0f-b1a7-d24753142515 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f73cddec-6125-4b0f-b1a7-d24753142515 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4c47386b-65aa-49a4-8c5a-24703bd359f5 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.71 | ubuntu18.04 | osm.heal02_202636 | | fb1614d7-78f8-4755-9189-04ad8566ec43 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.110 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ns_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ns_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_provides-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_provides-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_requires-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_requires-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-13] NS Relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/vnf_relations_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_provides', 'simple_requires'} Adding File: vnf_relations_vnf Pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_provides', 'simple_requires'} Adding File: vnf_relations_vnf Package created: /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz d5c85fc9-b8e8-484a-ad22-33c2440158ce ${rc} ${success_return_code} Fails if objects are unequal after 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} = d5c85fc9-b8e8-484a-ad22-33c2440158ce 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 82be5dc7-5f44-4f8e-bf17-38d7005448d8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 82be5dc7-5f44-4f8e-bf17-38d7005448d8 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} = af39bc14-fc8a-4e1b-924e-195f17ca498e ${stdout} Logs the given message with the given level. af39bc14-fc8a-4e1b-924e-195f17ca498e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = af39bc14-fc8a-4e1b-924e-195f17ca498e ${ns_id} Logs the given message with the given level. af39bc14-fc8a-4e1b-924e-195f17ca498e ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | BUILDING | INSTANTIATING (f2abba5b-b516-4852-952f-c6e518be053e) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | af39bc14-fc8a-4e1b-924e-195f17ca498e | 2024-04-16T01:11:27 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = af39bc14-fc8a-4e1b-924e-195f17ca498e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = af39bc14-fc8a-4e1b-924e-195f17ca498e basic_14 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = d187d0e3-c8cb-415b-95a8-0820a6fd2560 ${stdout} Logs the given message with the given level. d187d0e3-c8cb-415b-95a8-0820a6fd2560 ${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} = 1bd82263-be35-4dfa-b98b-b3d974e06c06 ${stdout} Logs the given message with the given level. 1bd82263-be35-4dfa-b98b-b3d974e06c06 ${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} = 330908f0-b507-488d-bbf3-33246e702cf9 ${stdout} Logs the given message with the given level. 330908f0-b507-488d-bbf3-33246e702cf9 ${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 baa199b1-f71d-4083-a822-585afced3e54 ${rc} ${success_return_code} Fails if objects are unequal after 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} = baa199b1-f71d-4083-a822-585afced3e54 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 c465ada8-63cc-4f83-83b5-6b43724a41d3 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c465ada8-63cc-4f83-83b5-6b43724a41d3 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} = 2c2e93ae-267a-4444-8356-b9d19ff8f954 ${stdout} Logs the given message with the given level. 2c2e93ae-267a-4444-8356-b9d19ff8f954 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2c2e93ae-267a-4444-8356-b9d19ff8f954 ${ns_id} Logs the given message with the given level. 2c2e93ae-267a-4444-8356-b9d19ff8f954 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BUILDING | INSTANTIATING (9dfe2475-a2f4-4cf2-8062-776972c1326e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BUILDING | INSTANTIATING (9dfe2475-a2f4-4cf2-8062-776972c1326e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 4669637c-a32b-4b02-b545-3076da296da1 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BROKEN | IDLE (None) | Operation: INSTANTIATING.9dfe2475-a2f4-4 | | | | | | | cf2-8062-776972c1326e, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: BadRequest: Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-f19eb19d-3907-45e0-aec9-3e8cd2e2 | | | | | | | 67b4). Error at create vdu: BadRequest: | | | | | | | Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-bcd58dbf- | | | | | | | fcc1-4fe3-8d4d-9c84d38d8a7d) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 4669637c-a32b-4b02-b545-3076da296da1 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BROKEN | IDLE (None) | Operation: INSTANTIATING.9dfe2475-a2f4-4 | | | | | | | cf2-8062-776972c1326e, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: BadRequest: Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-f19eb19d-3907-45e0-aec9-3e8cd2e2 | | | | | | | 67b4). Error at create vdu: BadRequest: | | | | | | | Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-bcd58dbf- | | | | | | | fcc1-4fe3-8d4d-9c84d38d8a7d) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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. '+------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | basic_16 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BROKEN | IDLE (None) | Operation: INSTANTIATING.9dfe2475-a2f4-4 | | | | | | | cf2-8062-776972c1326e, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: BadRequest: Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-f19eb19d-3907-45e0-aec9-3e8cd2e2 | | | | | | | 67b4). Error at create vdu: BadRequest: | | | | | | | Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-bcd58dbf- | | | | | | | fcc1-4fe3-8d4d-9c84d38d8a7d) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' contains 'BROKEN' ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. basic_16 cluster_main daily regression '+------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | basic_16 | 2c2e93ae-267a-4444-8356-b9d19ff8f954 | 2024-04-16T01:16:37 | BROKEN | IDLE (None) | Operation: INSTANTIATING.9dfe2475-a2f4-4 | | | | | | | cf2-8062-776972c1326e, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: BadRequest: Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 ... [ Message content over the limit has been removed. ] ...| | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-f19eb19d-3907-45e0-aec9-3e8cd2e2 | | | | | | | 67b4). Error at create vdu: BadRequest: | | | | | | | Flavor | | | | | | | 00080a68-2105-4d6b-b205-13345685a3e6 | | | | | | | could not be found. (HTTP 400) (Request- | | | | | | | ID: req-bcd58dbf- | | | | | | | fcc1-4fe3-8d4d-9c84d38d8a7d) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' contains 'BROKEN' ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. msg=Network service instance is not available @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. basic_16 cluster_main daily regression msg=Network service instance is not available @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. Variable '${vnf_id}' not found. Did you mean: ${vnfd_pkg} ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${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 Variable '${vnf_id}' not found. Did you mean: ${vnfd_pkg} ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. msg=Network service instance is not available ${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. basic_16 cluster_main daily regression msg=Network service instance is not available ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. msg=Network service instance is not available @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. ${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 msg=Network service instance is not available ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. msg=Network service instance is not available ${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. basic_16 cluster_main daily regression msg=Network service instance is not available ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. msg=Network service instance is not available @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. ${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 msg=Network service instance is not available ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_16 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 4669637c-a32b-4b02-b545-3076da296da1 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu20.04 | | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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. ${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} = 1 ${stdout} = ERROR: ns 'basic_16' not found ${stdout} Logs the given message with the given level. ERROR: ns 'basic_16' not found ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. ${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} = 1 ${stdout} = ERROR: nsd hackfest_basic-ns-metrics not found ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} Logs the given message with the given level. ERROR: nsd hackfest_basic-ns-metrics not found ${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. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. ${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} = 1 ${stdout} = ERROR: vnfd hackfest_basic_metrics-vnf not found ${stdout} Logs the given message with the given level. ERROR: vnfd hackfest_basic_metrics-vnf not found ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${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] 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 a134b787-f103-4706-a6ed-83c11f3586e6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = a134b787-f103-4706-a6ed-83c11f3586e6 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 bd214e7b-c15f-401f-858d-d1cde63f95fc ${rc} ${success_return_code} Fails if objects are unequal after 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} = bd214e7b-c15f-401f-858d-d1cde63f95fc 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 03527206-d1b8-47a4-aee7-c45b335f7721 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 03527206-d1b8-47a4-aee7-c45b335f7721 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 296a5178-e2ca-4ed1-9321-042893f712c5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 296a5178-e2ca-4ed1-9321-042893f712c5 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} = c9c49aae-fb07-4ad5-83a3-882960f4c2f5 ${stdout} Logs the given message with the given level. c9c49aae-fb07-4ad5-83a3-882960f4c2f5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c9c49aae-fb07-4ad5-83a3-882960f4c2f5 ${ns_id} Logs the given message with the given level. c9c49aae-fb07-4ad5-83a3-882960f4c2f5 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18:14 | BUILDING | INSTANTIATING (af7f9c62-1d4b-4c60-96f3-89f64f7ea0db) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18:14 | BUILDING | INSTANTIATING (af7f9c62-1d4b-4c60-96f3-89f64f7ea0db) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 63cf9e79-6762-43d7-a8e9-4e74d54c316d | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931c441c-7f9a-46c4-af40-7be5c6e38985 | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18:14 | BUILDING | INSTANTIATING (af7f9c62-1d4b-4c60-96f3-89f64f7ea0db) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18:14 | BUILDING | INSTANTIATING (af7f9c62-1d4b-4c60-96f3-89f64f7ea0db) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 63cf9e79-6762-43d7-a8e9-4e74d54c316d | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.50; basic_18-datanet2=192.168.20.119; basic_18-datanet3=192.168.30.82; osm-ext=172.21.249.52 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931c441c-7f9a-46c4-af40-7be5c6e38985 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.78; basic_18-datanet3=192.168.30.187; osm-ext=172.21.249.165 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18: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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 63cf9e79-6762-43d7-a8e9-4e74d54c316d | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.50; basic_18-datanet2=192.168.20.119; basic_18-datanet3=192.168.30.82; osm-ext=172.21.249.52 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931c441c-7f9a-46c4-af40-7be5c6e38985 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.78; basic_18-datanet3=192.168.30.187; osm-ext=172.21.249.165 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | 2024-04-16T01:18: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} = c9c49aae-fb07-4ad5-83a3-882960f4c2f5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c9c49aae-fb07-4ad5-83a3-882960f4c2f5 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 c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 a6d5eed1-c5aa-45d3-860c-7f257adb2a0b ${rc} ${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} = [ 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 | a6d5eed1-c5aa-45d3-860c-7f257adb2a0b ] @{vnfr_list} = [ 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 | a6d5eed1-c5aa-45d3-860c-7f257adb2a0b ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 1: a6d5eed1-c5aa-45d3-860c-7f257adb2a0b ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = a6d5eed1-c5aa-45d3-860c-7f257adb2a0b ${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 c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.165 ${stdout} Logs the given message with the given level. 172.21.249.165 ${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.165 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.249.165 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.249.165 ${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 c9c49aae-fb07-4ad5-83a3-882960f4c2f5 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.52 ${stdout} Logs the given message with the given level. 172.21.249.52 ${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.52 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.249.52 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.249.52 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 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.17 ${rc} ${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.17 ${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 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.78 ${rc} ${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.78 ${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 05c51cd6-ec0d-477a-b752-0569b3b2e0e3 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.187 ${rc} ${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.187 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 a6d5eed1-c5aa-45d3-860c-7f257adb2a0b --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.50 ${rc} ${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.50 ${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 a6d5eed1-c5aa-45d3-860c-7f257adb2a0b --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.119 ${rc} ${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.119 ${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 a6d5eed1-c5aa-45d3-860c-7f257adb2a0b --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.82 ${rc} ${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.82 basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 10 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 10 seconds Wait for SSH daemon to be up ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.165:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:19:50 UTC 2024 System load: 0.25 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.249.165 Memory usage: 10% IPv4 address for ens4: 192.168.10.17 Swap usage: 0% IPv4 address for ens5: 192.168.20.78 Processes: 108 IPv4 address for ens6: 192.168.30.187 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.249.165/22 192.168.10.17/24 192.168.20.78/24 192.168.30.187/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.249.165/22 192.168.10.17/24 192.168.20.78/24 192.168.30.187/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.249.165/22 192.168.10.17/24 192.168.20.78/24 192.168.30.187/24 ${stdout} Logs the given message with the given level. 172.21.249.165/22 192.168.10.17/24 192.168.20.78/24 192.168.30.187/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.165/22 | 192.168.10.17/24 | 192.168.20.78/24 | 192.168.30.187/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf2_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.52:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.249.52/22 192.168.10.50/24 192.168.20.119/24 192.168.30.82/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.249.52/22 192.168.10.50/24 192.168.20.119/24 192.168.30.82/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.249.52/22 192.168.10.50/24 192.168.20.119/24 192.168.30.82/24 ${stdout} Logs the given message with the given level. 172.21.249.52/22 192.168.10.50/24 192.168.20.119/24 192.168.30.82/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.52/22 | 192.168.10.50/24 | 192.168.20.119/24 | 192.168.30.82/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.165:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:19:55 UTC 2024 System load: 0.23 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.165 Memory usage: 10% IPv4 address for ens4: 192.168.10.17 Swap usage: 0% IPv4 address for ens5: 192.168.20.78 Processes: 110 IPv4 address for ens6: 192.168.30.187 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:19:51 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.249.52'. 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:07:d4:69 brd ff:ff:ff:ff:ff:ff inet 172.21.249.165/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86346sec preferred_lft 86346sec inet6 fe80::f816:3eff:fe07:d469/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:47:86:a4 brd ff:ff:ff:ff:ff:ff inet 192.168.10.17/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe47:86a4/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:d9:ec:2b brd ff:ff:ff:ff:ff:ff inet 192.168.20.78/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed9:ec2b/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:b2:7b:85 brd ff:ff:ff:ff:ff:ff inet 192.168.30.187/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:feb2:7b85/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.52 (172.21.249.52) 56(84) bytes of data. 64 bytes from 172.21.249.52: icmp_seq=1 ttl=64 time=2.49 ms 64 bytes from 172.21.249.52: icmp_seq=2 ttl=64 time=0.753 ms 64 bytes from 172.21.249.52: icmp_seq=3 ttl=64 time=0.683 ms 64 bytes from 172.21.249.52: icmp_seq=4 ttl=64 time=0.713 ms 64 bytes from 172.21.249.52: icmp_seq=5 ttl=64 time=0.695 ms --- 172.21.249.52 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4061ms rtt min/avg/max/mdev = 0.683/1.065/2.485/0.709 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:07:d4:69 brd ff:ff:ff:ff:ff:ff inet 172.21.249.165/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86346sec preferred_lft 86346sec inet6 fe80::f816:3eff:fe07:d469/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:47:86:a4 brd ff:ff:ff:ff:ff:ff inet 192.168.10.17/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe47:86a4/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:d9:ec:2b brd ff:ff:ff:ff:ff:ff inet 192.168.20.78/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed9:ec2b/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:b2:7b:85 brd ff:ff:ff:ff:ff:ff inet 192.168.30.187/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:feb2:7b85/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.52 (172.21.249.52) 56(84) bytes of data. 64 bytes from 172.21.249.52: icmp_seq=1 ttl=64 time=2.49 ms 64 bytes from 172.21.249.52: icmp_seq=2 ttl=64 time=0.753 ms 64 bytes from 172.21.249.52: icmp_seq=3 ttl=64 time=0.683 ms 64 bytes from 172.21.249.52: icmp_seq=4 ttl=64 time=0.713 ms 64 bytes from 172.21.249.52: icmp_seq=5 ttl=64 time=0.695 ms --- 172.21.249.52 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4061ms rtt min/avg/max/mdev = 0.683/1.065/2.485/0.709 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.165:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:01 UTC 2024 System load: 0.21 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.165 Memory usage: 10% IPv4 address for ens4: 192.168.10.17 Swap usage: 0% IPv4 address for ens5: 192.168.20.78 Processes: 110 IPv4 address for ens6: 192.168.30.187 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:19:55 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.10.50'. Command exited with return code 0. ${stdout} = PING 192.168.10.50 (192.168.10.50) 56(84) bytes of data. 64 bytes from 192.168.10.50: icmp_seq=1 ttl=64 time=2.86 ms 64 bytes from 192.168.10.50: icmp_seq=2 ttl=64 time=0.856 ms 64 bytes from 192.168.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.10.50 (192.168.10.50) 56(84) bytes of data. 64 bytes from 192.168.10.50: icmp_seq=1 ttl=64 time=2.86 ms 64 bytes from 192.168.10.50: icmp_seq=2 ttl=64 time=0.856 ms 64 bytes from 192.168.10.50: icmp_seq=3 ttl=64 time=0.709 ms 64 bytes from 192.168.10.50: icmp_seq=4 ttl=64 time=0.710 ms 64 bytes from 192.168.10.50: icmp_seq=5 ttl=64 time=0.550 ms --- 192.168.10.50 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4049ms rtt min/avg/max/mdev = 0.550/1.136/2.857/0.865 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.50 (192.168.10.50) 56(84) bytes of data. 64 bytes from 192.168.10.50: icmp_seq=1 ttl=64 time=2.86 ms 64 bytes from 192.168.10.50: icmp_seq=2 ttl=64 time=0.856 ms 64 bytes from 192.168.... ${stdout} Logs the given message with the given level. PING 192.168.10.50 (192.168.10.50) 56(84) bytes of data. 64 bytes from 192.168.10.50: icmp_seq=1 ttl=64 time=2.86 ms 64 bytes from 192.168.10.50: icmp_seq=2 ttl=64 time=0.856 ms 64 bytes from 192.168.10.50: icmp_seq=3 ttl=64 time=0.709 ms 64 bytes from 192.168.10.50: icmp_seq=4 ttl=64 time=0.710 ms 64 bytes from 192.168.10.50: icmp_seq=5 ttl=64 time=0.550 ms --- 192.168.10.50 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4049ms rtt min/avg/max/mdev = 0.550/1.136/2.857/0.865 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.165:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:06 UTC 2024 System load: 0.19 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.165 Memory usage: 10% IPv4 address for ens4: 192.168.10.17 Swap usage: 0% IPv4 address for ens5: 192.168.20.78 Processes: 108 IPv4 address for ens6: 192.168.30.187 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:20:01 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.119'. Command exited with return code 0. ${stdout} = PING 192.168.20.119 (192.168.20.119) 56(84) bytes of data. 64 bytes from 192.168.20.119: icmp_seq=1 ttl=64 time=1.81 ms 64 bytes from 192.168.20.119: icmp_seq=2 ttl=64 time=0.599 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.119 (192.168.20.119) 56(84) bytes of data. 64 bytes from 192.168.20.119: icmp_seq=1 ttl=64 time=1.81 ms 64 bytes from 192.168.20.119: icmp_seq=2 ttl=64 time=0.599 ms 64 bytes from 192.168.20.119: icmp_seq=3 ttl=64 time=0.558 ms 64 bytes from 192.168.20.119: icmp_seq=4 ttl=64 time=0.673 ms 64 bytes from 192.168.20.119: icmp_seq=5 ttl=64 time=0.824 ms --- 192.168.20.119 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.558/0.891/1.805/0.465 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.119 (192.168.20.119) 56(84) bytes of data. 64 bytes from 192.168.20.119: icmp_seq=1 ttl=64 time=1.81 ms 64 bytes from 192.168.20.119: icmp_seq=2 ttl=64 time=0.599 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.20.119 (192.168.20.119) 56(84) bytes of data. 64 bytes from 192.168.20.119: icmp_seq=1 ttl=64 time=1.81 ms 64 bytes from 192.168.20.119: icmp_seq=2 ttl=64 time=0.599 ms 64 bytes from 192.168.20.119: icmp_seq=3 ttl=64 time=0.558 ms 64 bytes from 192.168.20.119: icmp_seq=4 ttl=64 time=0.673 ms 64 bytes from 192.168.20.119: icmp_seq=5 ttl=64 time=0.824 ms --- 192.168.20.119 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.558/0.891/1.805/0.465 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.165:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:12 UTC 2024 System load: 0.18 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.165 Memory usage: 10% IPv4 address for ens4: 192.168.10.17 Swap usage: 0% IPv4 address for ens5: 192.168.20.78 Processes: 110 IPv4 address for ens6: 192.168.30.187 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:20:07 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.82'. Command exited with return code 0. ${stdout} = PING 192.168.30.82 (192.168.30.82) 56(84) bytes of data. 64 bytes from 192.168.30.82: icmp_seq=1 ttl=64 time=2.22 ms 64 bytes from 192.168.30.82: icmp_seq=2 ttl=64 time=0.797 ms 64 bytes from 192.168.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.30.82 (192.168.30.82) 56(84) bytes of data. 64 bytes from 192.168.30.82: icmp_seq=1 ttl=64 time=2.22 ms 64 bytes from 192.168.30.82: icmp_seq=2 ttl=64 time=0.797 ms 64 bytes from 192.168.30.82: icmp_seq=3 ttl=64 time=0.760 ms 64 bytes from 192.168.30.82: icmp_seq=4 ttl=64 time=0.945 ms 64 bytes from 192.168.30.82: icmp_seq=5 ttl=64 time=0.718 ms --- 192.168.30.82 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 0.718/1.087/2.217/0.569 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.82 (192.168.30.82) 56(84) bytes of data. 64 bytes from 192.168.30.82: icmp_seq=1 ttl=64 time=2.22 ms 64 bytes from 192.168.30.82: icmp_seq=2 ttl=64 time=0.797 ms 64 bytes from 192.168.... ${stdout} Logs the given message with the given level. PING 192.168.30.82 (192.168.30.82) 56(84) bytes of data. 64 bytes from 192.168.30.82: icmp_seq=1 ttl=64 time=2.22 ms 64 bytes from 192.168.30.82: icmp_seq=2 ttl=64 time=0.797 ms 64 bytes from 192.168.30.82: icmp_seq=3 ttl=64 time=0.760 ms 64 bytes from 192.168.30.82: icmp_seq=4 ttl=64 time=0.945 ms 64 bytes from 192.168.30.82: icmp_seq=5 ttl=64 time=0.718 ms --- 192.168.30.82 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 0.718/1.087/2.217/0.569 ms basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.52:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:18 UTC 2024 System load: 0.67 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.52 Memory usage: 10% IPv4 address for ens4: 192.168.10.50 Swap usage: 0% IPv4 address for ens5: 192.168.20.119 Processes: 106 IPv4 address for ens6: 192.168.30.82 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:19:54 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.249.165'. 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86334sec preferred_lft 86334sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.165 (172.21.249.165) 56(84) bytes of data. 64 bytes from 172.21.249.165: icmp_seq=1 ttl=64 time=1.35 ms 64 bytes from 172.21.249.165: icmp_seq=2 ttl=64 time=0.705 ms 64 bytes from 172.21.249.165: icmp_seq=3 ttl=64 time=0.580 ms 64 bytes from 172.21.249.165: icmp_seq=4 ttl=64 time=0.775 ms 64 bytes from 172.21.249.165: icmp_seq=5 ttl=64 time=0.625 ms --- 172.21.249.165 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4038ms rtt min/avg/max/mdev = 0.580/0.807/1.350/0.279 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86334sec preferred_lft 86334sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.165 (172.21.249.165) 56(84) bytes of data. 64 bytes from 172.21.249.165: icmp_seq=1 ttl=64 time=1.35 ms 64 bytes from 172.21.249.165: icmp_seq=2 ttl=64 time=0.705 ms 64 bytes from 172.21.249.165: icmp_seq=3 ttl=64 time=0.580 ms 64 bytes from 172.21.249.165: icmp_seq=4 ttl=64 time=0.775 ms 64 bytes from 172.21.249.165: icmp_seq=5 ttl=64 time=0.625 ms --- 172.21.249.165 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4038ms rtt min/avg/max/mdev = 0.580/0.807/1.350/0.279 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.52:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:24 UTC 2024 System load: 0.61 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.52 Memory usage: 10% IPv4 address for ens4: 192.168.10.50 Swap usage: 0% IPv4 address for ens5: 192.168.20.119 Processes: 108 IPv4 address for ens6: 192.168.30.82 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:20: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-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.17'. 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86328sec preferred_lft 86328sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.17 (192.168.10.17) 56(84) bytes of data. 64 bytes from 192.168.10.17: icmp_seq=1 ttl=64 time=1.64 ms 64 bytes from 192.168.10.17: icmp_seq=2 ttl=64 time=0.660 ms 64 bytes from 192.168.10.17: icmp_seq=3 ttl=64 time=0.663 ms 64 bytes from 192.168.10.17: icmp_seq=4 ttl=64 time=0.691 ms 64 bytes from 192.168.10.17: icmp_seq=5 ttl=64 time=0.778 ms --- 192.168.10.17 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.660/0.885/1.637/0.378 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86328sec preferred_lft 86328sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.17 (192.168.10.17) 56(84) bytes of data. 64 bytes from 192.168.10.17: icmp_seq=1 ttl=64 time=1.64 ms 64 bytes from 192.168.10.17: icmp_seq=2 ttl=64 time=0.660 ms 64 bytes from 192.168.10.17: icmp_seq=3 ttl=64 time=0.663 ms 64 bytes from 192.168.10.17: icmp_seq=4 ttl=64 time=0.691 ms 64 bytes from 192.168.10.17: icmp_seq=5 ttl=64 time=0.778 ms --- 192.168.10.17 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.660/0.885/1.637/0.378 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.52:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:30 UTC 2024 System load: 0.56 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.52 Memory usage: 10% IPv4 address for ens4: 192.168.10.50 Swap usage: 0% IPv4 address for ens5: 192.168.20.119 Processes: 108 IPv4 address for ens6: 192.168.30.82 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:20: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-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.78'. 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86323sec preferred_lft 86323sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.78 (192.168.20.78) 56(84) bytes of data. 64 bytes from 192.168.20.78: icmp_seq=1 ttl=64 time=16.8 ms 64 bytes from 192.168.20.78: icmp_seq=2 ttl=64 time=0.823 ms 64 bytes from 192.168.20.78: icmp_seq=3 ttl=64 time=0.812 ms 64 bytes from 192.168.20.78: icmp_seq=4 ttl=64 time=0.825 ms 64 bytes from 192.168.20.78: icmp_seq=5 ttl=64 time=0.866 ms --- 192.168.20.78 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 0.812/4.015/16.751/6.367 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86323sec preferred_lft 86323sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.78 (192.168.20.78) 56(84) bytes of data. 64 bytes from 192.168.20.78: icmp_seq=1 ttl=64 time=16.8 ms 64 bytes from 192.168.20.78: icmp_seq=2 ttl=64 time=0.823 ms 64 bytes from 192.168.20.78: icmp_seq=3 ttl=64 time=0.812 ms 64 bytes from 192.168.20.78: icmp_seq=4 ttl=64 time=0.825 ms 64 bytes from 192.168.20.78: icmp_seq=5 ttl=64 time=0.866 ms --- 192.168.20.78 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 0.812/4.015/16.751/6.367 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.52:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:20:35 UTC 2024 System load: 0.52 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.52 Memory usage: 10% IPv4 address for ens4: 192.168.10.50 Swap usage: 0% IPv4 address for ens5: 192.168.20.119 Processes: 108 IPv4 address for ens6: 192.168.30.82 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:20: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-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.187'. 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86317sec preferred_lft 86317sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.187 (192.168.30.187) 56(84) bytes of data. 64 bytes from 192.168.30.187: icmp_seq=1 ttl=64 time=1.57 ms 64 bytes from 192.168.30.187: icmp_seq=2 ttl=64 time=0.777 ms 64 bytes from 192.168.30.187: icmp_seq=3 ttl=64 time=0.703 ms 64 bytes from 192.168.30.187: icmp_seq=4 ttl=64 time=0.829 ms 64 bytes from 192.168.30.187: icmp_seq=5 ttl=64 time=0.734 ms --- 192.168.30.187 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4011ms rtt min/avg/max/mdev = 0.703/0.921/1.565/0.324 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:f5:02:c4 brd ff:ff:ff:ff:ff:ff inet 172.21.249.52/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86317sec preferred_lft 86317sec inet6 fe80::f816:3eff:fef5:2c4/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:e2:39:9a brd ff:ff:ff:ff:ff:ff inet 192.168.10.50/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fee2:399a/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:83:c3:53 brd ff:ff:ff:ff:ff:ff inet 192.168.20.119/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe83:c353/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:39:92:fc brd ff:ff:ff:ff:ff:ff inet 192.168.30.82/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe39:92fc/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.187 (192.168.30.187) 56(84) bytes of data. 64 bytes from 192.168.30.187: icmp_seq=1 ttl=64 time=1.57 ms 64 bytes from 192.168.30.187: icmp_seq=2 ttl=64 time=0.777 ms 64 bytes from 192.168.30.187: icmp_seq=3 ttl=64 time=0.703 ms 64 bytes from 192.168.30.187: icmp_seq=4 ttl=64 time=0.829 ms 64 bytes from 192.168.30.187: icmp_seq=5 ttl=64 time=0.734 ms --- 192.168.30.187 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4011ms rtt min/avg/max/mdev = 0.703/0.921/1.565/0.324 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 63cf9e79-6762-43d7-a8e9-4e74d54c316d | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.50; basic_18-datanet2=192.168.20.119; basic_18-datanet3=192.168.30.82; osm-ext=172.21.249.52 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931c441c-7f9a-46c4-af40-7be5c6e38985 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.78; basic_18-datanet3=192.168.30.187; osm-ext=172.21.249.165 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 63cf9e79-6762-43d7-a8e9-4e74d54c316d | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.52 | ubuntu20.04 | | | 931c441c-7f9a-46c4-af40-7be5c6e38985 | basic_18-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.249.165 | ubuntu20.04 | | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 09569f91-10fd-469c-aca7-0af51eb7d98c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 09569f91-10fd-469c-aca7-0af51eb7d98c 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 17c9f432-61d7-4f2f-9565-191ecb3edbbd ${rc} ${success_return_code} Fails if objects are unequal after 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} = 17c9f432-61d7-4f2f-9565-191ecb3edbbd 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} = 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 ${stdout} Logs the given message with the given level. 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 ${ns_id} Logs the given message with the given level. 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | BUILDING | INSTANTIATING (e4f482b4-6da6-481b-97d9-113d5d394db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | BUILDING | INSTANTIATING (e4f482b4-6da6-481b-97d9-113d5d394db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | 51bf8bcc-7177-4cd6-8668-7ab3caee3923 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.73 | ubuntu20.04 | simple_requires-1-1-flv | | ef66a3f6-3669-4f2e-9713-4fc3191b4cfa | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.108; osm-ext=172.21.249.152 | ubuntu20.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | BUILDING | INSTANTIATING (e4f482b4-6da6-481b-97d9-113d5d394db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | BUILDING | INSTANTIATING (e4f482b4-6da6-481b-97d9-113d5d394db4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | 18346f82-0dc4-40e2-af88-a82ceef98010 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 51bf8bcc-7177-4cd6-8668-7ab3caee3923 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.73 | ubuntu20.04 | simple_requires-1-1-flv | | ef66a3f6-3669-4f2e-9713-4fc3191b4cfa | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.108; osm-ext=172.21.249.152 | ubuntu20.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | 18346f82-0dc4-40e2-af88-a82ceef98010 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 51bf8bcc-7177-4cd6-8668-7ab3caee3923 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.73 | ubuntu20.04 | simple_requires-1-1-flv | | ef66a3f6-3669-4f2e-9713-4fc3191b4cfa | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.108; osm-ext=172.21.249.152 | ubuntu20.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | 2024-04-16T01:21:33 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 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 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 4da00bc6-4110-4b43-9317-f8d33e898050 ${rc} ${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} = [ 4da00bc6-4110-4b43-9317-f8d33e898050 ] @{vnfr_list} = [ 4da00bc6-4110-4b43-9317-f8d33e898050 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 4da00bc6-4110-4b43-9317-f8d33e898050 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 4da00bc6-4110-4b43-9317-f8d33e898050 ${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 2d0f75b7-03b1-4e60-888a-ba914dffd5d2 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.152 ${stdout} Logs the given message with the given level. 172.21.249.152 ${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.152 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.249.152 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.249.152 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 4da00bc6-4110-4b43-9317-f8d33e898050 --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.108 ${rc} ${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 4da00bc6-4110-4b43-9317-f8d33e898050 --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.73 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_19 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_19 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ | 18346f82-0dc4-40e2-af88-a82ceef98010 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 51bf8bcc-7177-4cd6-8668-7ab3caee3923 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.73 | ubuntu20.04 | simple_requires-1-1-flv | | ef66a3f6-3669-4f2e-9713-4fc3191b4cfa | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.108; osm-ext=172.21.249.152 | ubuntu20.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 0 ${stdout} = basic_19 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 == basic_19 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 1f1fb382-ead3-4d43-849d-29ba3aa66b4f ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1f1fb382-ead3-4d43-849d-29ba3aa66b4f 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 efe06a0e-5a48-40c1-bae9-ccf366e85222 ${rc} ${success_return_code} Fails if objects are unequal after 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} = efe06a0e-5a48-40c1-bae9-ccf366e85222 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} = 4448b919-da20-488e-9437-2e623d9c80be ${stdout} Logs the given message with the given level. 4448b919-da20-488e-9437-2e623d9c80be ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4448b919-da20-488e-9437-2e623d9c80be ${ns_id} Logs the given message with the given level. 4448b919-da20-488e-9437-2e623d9c80be ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+-------------------------+ | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | BUILDING | INSTANTIATING (3d3e0416-046f-4f73-be8d-bb8a43bb2b42) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 4448b919-da20-488e-9437-2e623d9c80be | 2024-04-16T01:23:26 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 4448b919-da20-488e-9437-2e623d9c80be ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4448b919-da20-488e-9437-2e623d9c80be 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 4448b919-da20-488e-9437-2e623d9c80be | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 ${rc} ${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} = [ be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 ] @{vnfr_list} = [ be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 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 be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 --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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ${rc} ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ] @{name_list} = [ app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ] ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki 1: app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki', 'app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2'] 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} = 4448474b-2afc-4642-b82f-89e9aa69abe3 ${rc} ${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 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4448474b-2afc-4642-b82f-89e9aa69abe3 --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 4448474b-2afc-4642-b82f-89e9aa69abe3 --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} = 4448474b-2afc-4642-b82f-89e9aa69abe3 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 be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 --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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-extrb ${rc} ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-extrb ] @{name_list} = [ app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-extrb ] ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki 1: app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 2: app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-extrb ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki', 'app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2', 'app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-extrb'] 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} = 9884286c-7a89-4853-9ca4-54cae978b966 ${rc} ${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 9884286c-7a89-4853-9ca4-54cae978b966 --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 9884286c-7a89-4853-9ca4-54cae978b966 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9884286c-7a89-4853-9ca4-54cae978b966 --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 9884286c-7a89-4853-9ca4-54cae978b966 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9884286c-7a89-4853-9ca4-54cae978b966 --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 9884286c-7a89-4853-9ca4-54cae978b966 --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} = 9884286c-7a89-4853-9ca4-54cae978b966 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 be862ed5-6cdb-41b8-8ebc-a0fb74d06c60 --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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ${rc} ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ] @{name_list} = [ app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki | app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ] ${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-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki 1: app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2 ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-fz0ki', 'app-vnf-fb74d06c60-z0-vdu-mgmtvm-cnt-z0-leiw2'] Get the application names. basic_20 cluster_main daily regression ${count_duplicated} ${application_list} Returns and logs the length of the given item as an integer. Length is 2 ${count_duplicated} = 2 ${count_duplicated} != 2 Fail msg=There are not 2 application name in the application list after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check the application names if there are 2 application name in the application list. basic_20 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 8ef13621-7166-46cc-b24d-db4b94d50dca ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8ef13621-7166-46cc-b24d-db4b94d50dca 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 1ff1a4f5-1ae7-426b-855d-408e14f64509 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1ff1a4f5-1ae7-426b-855d-408e14f64509 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} = dd40317d-b27c-4efe-9227-63521b2bd7e5 ${stdout} Logs the given message with the given level. dd40317d-b27c-4efe-9227-63521b2bd7e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = dd40317d-b27c-4efe-9227-63521b2bd7e5 ${ns_id} Logs the given message with the given level. dd40317d-b27c-4efe-9227-63521b2bd7e5 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | BUILDING | INSTANTIATING (6823346c-988c-4cfc-a31d-16ce50799f92) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | BUILDING | INSTANTIATING (6823346c-988c-4cfc-a31d-16ce50799f92) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | BUILDING | INSTANTIATING (6823346c-988c-4cfc-a31d-16ce50799f92) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | BUILDING | INSTANTIATING (6823346c-988c-4cfc-a31d-16ce50799f92) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | dd40317d-b27c-4efe-9227-63521b2bd7e5 | 2024-04-16T01:32:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = dd40317d-b27c-4efe-9227-63521b2bd7e5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = dd40317d-b27c-4efe-9227-63521b2bd7e5 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 dd40317d-b27c-4efe-9227-63521b2bd7e5 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.126 ${stdout} Logs the given message with the given level. 172.21.248.126 ${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.126 ${ip_addr} Logs the given message with the given level. 172.21.248.126 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.126 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.126:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete several_volumes-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep several_volumes-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-21] NS with only one VDU and several volumes '%{PACKAGES_FOLDER}/${vnfd_pkg_1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/cmr_relation_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_relation_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_relation_vnf Package created: /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz 6a111b67-021d-4e5a-a6c1-2bce480495d6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6a111b67-021d-4e5a-a6c1-2bce480495d6 basic_22 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg_2}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_no_relati... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_no_relation_vnf Package created: /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf.tar.gz 1865aba4-7cee-4d3c-a57d-0d8a2bc54934 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1865aba4-7cee-4d3c-a57d-0d8a2bc54934 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 a18ca9d7-56f3-48e1-8bf8-4fc70e69df5f ${rc} ${success_return_code} Fails if objects are unequal after 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} = a18ca9d7-56f3-48e1-8bf8-4fc70e69df5f 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} = d64508c3-7433-475a-b7ac-108da4d865f0 ${stdout} Logs the given message with the given level. d64508c3-7433-475a-b7ac-108da4d865f0 ${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 | d64508c3-7433-475a-b7ac-108da4d865f0 | 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 | d64508c3-7433-475a-b7ac-108da4d865f0 | 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 | "d64508c3-7433-475a-b7ac-108da4d865f0" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713231290.4037826, | | | "modified": 1713231295.7026951, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713231290.4038153, | | | "statusEnteredTime": 1713231290.4038153, | | | "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": "d64508c3-7433-475a-b7ac-108da4d865f0", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "d64508c3-7433-475a-b7ac-108da4d865f0", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "d64508c3-7433-475a-b7ac-108da4d865f0", | | | "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 | d64508c3-7433-475a-b7ac-108da4d865f0 | 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 | d64508c3-7433-475a-b7ac-108da4d865f0 | 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} = b2ac1f1c-6a26-4a43-b90e-94763992182f ${stdout} Logs the given message with the given level. b2ac1f1c-6a26-4a43-b90e-94763992182f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b2ac1f1c-6a26-4a43-b90e-94763992182f ${ns_id} Logs the given message with the given level. b2ac1f1c-6a26-4a43-b90e-94763992182f ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | 1f06d29a-e9e1-4cf4-8720-b5ecaf0c2fd8 | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 8a41adf2-0df9-4c48-833a-9fd1a7f0ce1e | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 1dacb350-ab25-4243-96a0-d72de14bd0fb | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 83ef5f3a-9754-421a-a9a5-05c9a7489555 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.70.131; osm-ext=172.21.249.41 | ubuntu20.04 | simple_requires-1-1-flv | | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ | bd900516-a8cc-480c-832f-93b7442b2eda | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 1f06d29a-e9e1-4cf4-8720-b5ecaf0c2fd8 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.46.200; basic_08_disable-internal=192.168.6.65 | ubuntu20.04 | simple_requires-1-1-flv | | 8a41adf2-0df9-4c48-833a-9fd1a7f0ce1e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.6.87; osm-ext=172.21.248.179 | ubuntu20.04 | simple_requires-1-1-flv | | 1dacb350-ab25-4243-96a0-d72de14bd0fb | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.46.173; basic_08_disable-internal=192.168.70.167 | ubuntu20.04 | simple_requires-1-1-flv | | 83ef5f3a-9754-421a-a9a5-05c9a7489555 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.70.131; osm-ext=172.21.249.41 | ubuntu20.04 | simple_requires-1-1-flv | | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 1f06d29a-e9e1-4cf4-8720-b5ecaf0c2fd8 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 8a41adf2-0df9-4c48-833a-9fd1a7f0ce1e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.6.87; osm-ext=172.21.248.179 | ubuntu20.04 | simple_requires-1-1-flv | | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | BUILDING | INSTANTIATING (ccd2658d-54a7-4050-b9b0-9be465f7667d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 56b84307-8a9c-4b06-8579-54c2ae1699e2 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 56b84307-8a9c-4b06-8579-54c2ae1699e2 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b2ac1f1c-6a26-4a43-b90e-94763992182f | 2024-04-16T01:35:27 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b2ac1f1c-6a26-4a43-b90e-94763992182f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b2ac1f1c-6a26-4a43-b90e-94763992182f basic_22 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_22 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 56b84307-8a9c-4b06-8579-54c2ae1699e2 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 abe10ddb-83fb-43b8-844a-8115c5521219 ${rc} ${success_return_code} Fails if objects are unequal after 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} = abe10ddb-83fb-43b8-844a-8115c5521219 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 da4c36... ${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 da4c3631-a0e5-4f60-b1d3-0358e2d7cc7c ${rc} ${success_return_code} Fails if objects are unequal after 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} = da4c3631-a0e5-4f60-b1d3-0358e2d7cc7c 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 9f66b42a-038c-4396-af57-ec739d991d44 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9f66b42a-038c-4396-af57-ec739d991d44 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 1fd35d29-1fa0-4e41-832d-8ff67d61a40c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1fd35d29-1fa0-4e41-832d-8ff67d61a40c 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} = a170df42-27dd-4e12-bf78-ada3840789dd ${stdout} Logs the given message with the given level. a170df42-27dd-4e12-bf78-ada3840789dd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a170df42-27dd-4e12-bf78-ada3840789dd ${ns_id} Logs the given message with the given level. a170df42-27dd-4e12-bf78-ada3840789dd ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 4e6997ae-2d3c-4a6f-9404-e075cc43f36b | basic_16-vnf-hackfest_basic_metrics-VM-4 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | f6a3c5cd-de7f-4f6e-9873-f05cc3567e89 | basic_16-vnf-hackfest_basic_metrics-VM-3 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | BUILDING | INSTANTIATING (7ccb7228-e455-4b41-9766-8645af0dfbf4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | BUILDING | INSTANTIATING (7ccb7228-e455-4b41-9766-8645af0dfbf4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6997ae-2d3c-4a6f-9404-e075cc43f36b | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | BUILDING | INSTANTIATING (7ccb7228-e455-4b41-9766-8645af0dfbf4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | BUILDING | INSTANTIATING (7ccb7228-e455-4b41-9766-8645af0dfbf4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | a170df42-27dd-4e12-bf78-ada3840789dd | 2024-04-16T01:43:24 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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} = a170df42-27dd-4e12-bf78-ada3840789dd ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a170df42-27dd-4e12-bf78-ada3840789dd 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 a170df42-27dd-4e12-bf78-ada3840789dd | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 79f3af82-1520-41b1-987a-12a9708eca89 ${stdout} Logs the given message with the given level. 79f3af82-1520-41b1-987a-12a9708eca89 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 79f3af82-1520-41b1-987a-12a9708eca89 @{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 79f3af82-1520-41b1-987a-12a9708eca89 --literal | yq '.vdur[].id' 2>&1'. ${rc} = 0 ${stdout} = "2b849c86-ef04-4ea0-b06c-34f2336d8871" "db866c20-d76c-40fa-b29d-60c7d45f2398" ${stdout} Logs the given message with the given level. "2b849c86-ef04-4ea0-b06c-34f2336d8871" "db866c20-d76c-40fa-b29d-60c7d45f2398" ${rc} ${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} = [ "2b849c86-ef04-4ea0-b06c-34f2336d8871" | "db866c20-d76c-40fa-b29d-60c7d45f2398" ] @{vdur_id_list} = [ "2b849c86-ef04-4ea0-b06c-34f2336d8871" | "db866c20-d76c-40fa-b29d-60c7d45f2398" ] ${vdur_id} @{vdur_id_list} "2b849c86-ef04-4ea0-b06c-34f2336d8871" ${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 79f3af82-1520-41b1-987a-12a9708eca89 --literal | yq '.vdur[] | select(.id == "'"2b849c86-ef04-4ea0-b06c-34f2336d8871"'")' | 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 79f3af82-1520-41b1-987a-12a9708eca89 --literal | yq '.vdur[] | select(.id == "'"2b849c86-ef04-4ea0-b06c-34f2336d8871"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = e47afc01-9742-476c-a010-08a4507e2989 ${vm_vim_id} Logs the given message with the given level. e47afc01-9742-476c-a010-08a4507e2989 ${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} = e47afc01-9742-476c-a010-08a4507e2989 ${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} = ['2b816d36-4eb3-437e-a54d-991554279442', 'e47afc01-9742-476c-a010-08a4507e2989'] ${stdout} Logs the given message with the given level. ['2b816d36-4eb3-437e-a54d-991554279442', 'e47afc01-9742-476c-a010-08a4507e2989'] ${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. "db866c20-d76c-40fa-b29d-60c7d45f2398" ${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 79f3af82-1520-41b1-987a-12a9708eca89 --literal | yq '.vdur[] | select(.id == "'"db866c20-d76c-40fa-b29d-60c7d45f2398"'")' | 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 79f3af82-1520-41b1-987a-12a9708eca89 --literal | yq '.vdur[] | select(.id == "'"db866c20-d76c-40fa-b29d-60c7d45f2398"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = 2b816d36-4eb3-437e-a54d-991554279442 ${vm_vim_id} Logs the given message with the given level. 2b816d36-4eb3-437e-a54d-991554279442 ${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} = 2b816d36-4eb3-437e-a54d-991554279442 ${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} = ['2b816d36-4eb3-437e-a54d-991554279442', 'e47afc01-9742-476c-a010-08a4507e2989'] ${stdout} Logs the given message with the given level. ['2b816d36-4eb3-437e-a54d-991554279442', 'e47afc01-9742-476c-a010-08a4507e2989'] ${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} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 0 ${stdout} = basic_24 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 == basic_24 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ab9c3759-869d-4271-8df5-fc9135001520 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ab9c3759-869d-4271-8df5-fc9135001520 ${id} = ab9c3759-869d-4271-8df5-fc9135001520 ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = ab9c3759-869d-4271-8df5-fc9135001520 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 9e915525-7897-48ae-b926-eca305cbf95b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9e915525-7897-48ae-b926-eca305cbf95b 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} = 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 ${stdout} Logs the given message with the given level. 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 ${ns_id} Logs the given message with the given level. 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | BUILDING | INSTANTIATING (efb724c0-a673-47e7-ace1-3016ea22032e) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45:23 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | 2024-04-16T01:45: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} = 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 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 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = fd3a1fef-fcc7-4d5a-8065-0896b508e302 ${stdout} Logs the given message with the given level. fd3a1fef-fcc7-4d5a-8065-0896b508e302 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = fd3a1fef-fcc7-4d5a-8065-0896b508e302 ${id} Logs the given message with the given level. fd3a1fef-fcc7-4d5a-8065-0896b508e302 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = fd3a1fef-fcc7-4d5a-8065-0896b508e302 ${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: "fd3a1fef-fcc7-4d5a-8065-0896b508e302", vnfdId: "ab9c3759-869d-4271-8df5-fc9135001520"}]}' 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 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.167 ${stdout} Logs the given message with the given level. 172.21.248.167 ${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.167 ${ip_addr} Logs the given message with the given level. 172.21.248.167 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.167 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.248.167:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:48:14 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.167 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.248.167:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:48:16 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.167 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:48: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-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} = 5059fcd8-7502-446a-8baa-4495e5ac8c2d ${rc} ${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 5059fcd8-7502-446a-8baa-4495e5ac8c2d --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 5059fcd8-7502-446a-8baa-4495e5ac8c2d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5059fcd8-7502-446a-8baa-4495e5ac8c2d --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 5059fcd8-7502-446a-8baa-4495e5ac8c2d --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} = 5059fcd8-7502-446a-8baa-4495e5ac8c2d 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.248.167:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:48:38 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.167 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:48: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-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 466f3416-7e17-48e9-b3a1-4bc29ea2eb85 --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "fd3a1fef-fcc7-4d5a-8065-0896b508e302", vnfdId: "ab9c3759-869d-4271-8df5-fc9135001520"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done 273b89b3-9bcd-474f-a353-28281c1783da ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done 273b89b3-9bcd-474f-a353-28281c1783da ${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} = 2979ab25-e66e-4573-9682-b6909869f639 ${rc} ${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 2979ab25-e66e-4573-9682-b6909869f639 --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 2979ab25-e66e-4573-9682-b6909869f639 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2979ab25-e66e-4573-9682-b6909869f639 --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 2979ab25-e66e-4573-9682-b6909869f639 --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} = 2979ab25-e66e-4573-9682-b6909869f639 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.248.167:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:49:18 UTC 2024 System load: 0.04 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.167 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:48:38 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ ${output} ls -d ${folder} Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls -d /home/ubuntu/myfolder1'. Command exited with return code 0. ${output} = /home/ubuntu/myfolder1 Closes all open connections. ${output} ${folder} Fails if objects are unequal after converting them to strings. Check whether the folder created in the previous test via Day 2 operations exist or not. basic_25 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 93fe9524-d4e8-44fb-b6aa-36e57de077c1 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 93fe9524-d4e8-44fb-b6aa-36e57de077c1 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 e38cbc8b-7dfb-4fd8-8bfc-27a02b648ac7 ${rc} ${success_return_code} Fails if objects are unequal after 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} = e38cbc8b-7dfb-4fd8-8bfc-27a02b648ac7 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} = 17e279f8-2c8d-4000-8018-953658d6d2a2 ${stdout} Logs the given message with the given level. 17e279f8-2c8d-4000-8018-953658d6d2a2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 17e279f8-2c8d-4000-8018-953658d6d2a2 ${ns_id} Logs the given message with the given level. 17e279f8-2c8d-4000-8018-953658d6d2a2 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | BUILDING | INSTANTIATING (07958b52-2f92-4fa5-8cca-85c6f699fa1e) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | BUILDING | INSTANTIATING (07958b52-2f92-4fa5-8cca-85c6f699fa1e) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | BUILDING | INSTANTIATING (07958b52-2f92-4fa5-8cca-85c6f699fa1e) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | BUILDING | INSTANTIATING (07958b52-2f92-4fa5-8cca-85c6f699fa1e) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 17e279f8-2c8d-4000-8018-953658d6d2a2 | 2024-04-16T01:50:10 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 17e279f8-2c8d-4000-8018-953658d6d2a2 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 17e279f8-2c8d-4000-8018-953658d6d2a2 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 17e279f8-2c8d-4000-8018-953658d6d2a2 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.166 ${stdout} Logs the given message with the given level. 172.21.249.166 ${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.166 ${ip_addr} Logs the given message with the given level. 172.21.249.166 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.166 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.166:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:51:53 UTC 2024 System load: 0.75 Processes: 97 Usage of /: 3.8% of 28.90GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.166 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 | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 0 ${stdout} = epa_01-epa_sriov_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_01-epa_sriov_test == epa_01-epa_sriov_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ab4a99e7-5850-4815-ba52-b40ce5efb085 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ab4a99e7-5850-4815-ba52-b40ce5efb085 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 63c43304-a4db-4ba6-bc30-d6ade04a3405 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 63c43304-a4db-4ba6-bc30-d6ade04a3405 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} = 29eefe63-bf62-45c8-88e2-8ec8f915b61d ${stdout} Logs the given message with the given level. 29eefe63-bf62-45c8-88e2-8ec8f915b61d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 29eefe63-bf62-45c8-88e2-8ec8f915b61d ${ns_id} Logs the given message with the given level. 29eefe63-bf62-45c8-88e2-8ec8f915b61d ${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 | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 29eefe63-bf62-45c8-88e2-8ec8f915b61d | 2024-04-16T01:52:29 | BUILDING | INSTANTIATING (7fd1396c-279b-4f25-80d0-22d4bcf03b90) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 29eefe63-bf62-45c8-88e2-8ec8f915b61d | 2024-04-16T01:52:29 | BUILDING | INSTANTIATING (7fd1396c-279b-4f25-80d0-22d4bcf03b90) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 29eefe63-bf62-45c8-88e2-8ec8f915b61d | 2024-04-16T01:52:29 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 29eefe63-bf62-45c8-88e2-8ec8f915b61d | 2024-04-16T01:52:29 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 29eefe63-bf62-45c8-88e2-8ec8f915b61d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 29eefe63-bf62-45c8-88e2-8ec8f915b61d 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 29eefe63-bf62-45c8-88e2-8ec8f915b61d | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 45e8f852-2999-41d4-bcf3-bd542885e6d9 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 45e8f852-2999-41d4-bcf3-bd542885e6d9 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 45e8f852-2999-41d4-bcf3-bd542885e6d9 ${vnfs_list} = ['45e8f852-2999-41d4-bcf3-bd542885e6d9'] ${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 45e8f852-2999-41d4-bcf3-bd542885e6d9 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 ${stdout} Logs the given message with the given level. d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 ${vim_id} Logs the given message with the given level. d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 ${vnf_server_id} ${vim_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_server_id} = d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 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 d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')''. ${rc} = 0 ${stdout} = ede45b3b-1830-417f-9ecb-68d35ded3db7 ${stdout} Logs the given message with the given level. ede45b3b-1830-417f-9ecb-68d35ded3db7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${flavor_id} = ede45b3b-1830-417f-9ecb-68d35ded3db7 ${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 ede45b3b-1830-417f-9ecb-68d35ded3db7 | 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 | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 6807138a-d6ac-4870-9fb9-3ae945b50927 ${stdout} Logs the given message with the given level. 6807138a-d6ac-4870-9fb9-3ae945b50927 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_sdnc_id} = 6807138a-d6ac-4870-9fb9-3ae945b50927 ${sdnc_id} ${created_sdnc_id} Makes a variable available everywhere within the scope of the current suite. ${sdnc_id} = 6807138a-d6ac-4870-9fb9-3ae945b50927 ${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 6807138a-d6ac-4870-9fb9-3ae945b50927 | 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=6807138a-d6ac-4870-9fb9-3ae945b50927 ${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=6807138a-d6ac-4870-9fb9-3ae945b50927 ${param_name} = sdnc_id ${param_value} = 6807138a-d6ac-4870-9fb9-3ae945b50927 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="6807138a-d6ac-4870-9fb9-3ae945b50927", ${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.229: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.229:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%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.229:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 01:53:46 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_sdnc_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 1 msg=SDNC '${sdnc_id}' is not active values=false Fails if objects are unequal after converting them to integers. ${sdnc_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_sdnc_status sdnc_id=${sdnc_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} sdnc_id=6807138a-d6ac-4870-9fb9-3ae945b50927 ${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=6807138a-d6ac-4870-9fb9-3ae945b50927 ${param_name} = sdnc_id ${param_value} = 6807138a-d6ac-4870-9fb9-3ae945b50927 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="6807138a-d6ac-4870-9fb9-3ae945b50927", ${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.229: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.229:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%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.229:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%226807138a-d6ac-4870-9fb9-3ae945b50927%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 01:54:46 GMT', 'Content-Length': '231'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_sdnc_status","instance":"mon:8000","job":"mon_exporter","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","sdnc_id":"6807138a-d6ac-4870-9fb9-3ae945b50927"},"value":[1713232486.525,"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': '846d7488-43b0-414f-9a1a-e701d... ${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': '846d7488-43b0-414f-9a1a-e701d83b87cd', 'sdnc_id': '6807138a-d6ac-4870-9fb9-3ae945b50927'}, '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 69129385-70f0-4a34-aad0-71e53ffd6031 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 69129385-70f0-4a34-aad0-71e53ffd6031 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 3232b37d-528c-448c-8215-843d4a445679 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3232b37d-528c-448c-8215-843d4a445679 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} = a011c9a4-6107-4115-b7a4-45ad21dd7f89 ${stdout} Logs the given message with the given level. a011c9a4-6107-4115-b7a4-45ad21dd7f89 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a011c9a4-6107-4115-b7a4-45ad21dd7f89 ${ns_id} Logs the given message with the given level. a011c9a4-6107-4115-b7a4-45ad21dd7f89 ${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 | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 033cdc31-2f37-4da1-b26c-9bcd4d122c5b | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu20.04 | simple_requires-1-1-flv | | e5ed5570-6bbf-43bf-bf4c-1a3ff5fb52b3 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.100 | ubuntu20.04 | simple_requires-1-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | BUILDING | INSTANTIATING (a049c289-6770-44bb-ae69-b6229f363a04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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 | a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 2024-04-16T01:54:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = a011c9a4-6107-4115-b7a4-45ad21dd7f89 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a011c9a4-6107-4115-b7a4-45ad21dd7f89 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 a011c9a4-6107-4115-b7a4-45ad21dd7f89 | 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 ${ip_mgmt_1} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_1} = 172.21.248.120 ${ip_mgmt_1} 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 a011c9a4-6107-4115-b7a4-45ad21dd7f89 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.160 ${stdout} Logs the given message with the given level. 172.21.249.160 ${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.160 ${ip_mgmt_2} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_2} = 172.21.249.160 ${ip_mgmt_2} Logs the given message with the given level. 172.21.249.160 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.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 Tue Apr 16 01:57:10 UTC 2024 System load: 0.38 Processes: 126 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.248.120 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:ab:6b:14 brd ff:ff:ff:ff:ff:ff inet 172.21.248.120/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86297sec preferred_lft 86297sec inet6 fe80::f816:3eff:feab:6b14/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:82:37:70 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:fe82:3770/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.231 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=1.13 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.256 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.189 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.206 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4029ms rtt min/avg/max/mdev = 0.189/0.402/1.132/0.365 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:ab:6b:14 brd ff:ff:ff:ff:ff:ff inet 172.21.248.120/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86297sec preferred_lft 86297sec inet6 fe80::f816:3eff:feab:6b14/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:82:37:70 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:fe82:3770/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.231 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=1.13 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.256 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.189 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.206 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4029ms rtt min/avg/max/mdev = 0.189/0.402/1.132/0.365 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.160:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:57:17 UTC 2024 System load: 0.46 Processes: 128 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.160 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:f2:06:77 brd ff:ff:ff:ff:ff:ff inet 172.21.249.160/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fef2:677/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:82:3f:59 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:fe82:3f59/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.206 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.262 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.164 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.245 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4092ms rtt min/avg/max/mdev = 0.164/0.212/0.262/0.036 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:f2:06:77 brd ff:ff:ff:ff:ff:ff inet 172.21.249.160/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fef2:677/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:82:3f:59 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:fe82:3f59/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.206 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.262 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.187 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.164 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.245 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4092ms rtt min/avg/max/mdev = 0.164/0.212/0.262/0.036 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 | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 c3977ead-3de8-48a5-8dba-a6a61b6b5288 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c3977ead-3de8-48a5-8dba-a6a61b6b5288 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 e7c236c0-f0ac-4beb-a31f-9dfc0e0e3ccd ${rc} ${success_return_code} Fails if objects are unequal after 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} = e7c236c0-f0ac-4beb-a31f-9dfc0e0e3ccd cluster_main daily fail_01 regression ${rand} 4 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 5715 ${ns_name} SEPARATOR=_ ${ns_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${ns_name} = fail_01_5715 ${ns_name} Makes a variable available everywhere within the scope of the current suite. ${ns_name} = fail_01_5715 ${ns_name} Logs the given message with the given level. fail_01_5715 ${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_5715 --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} = a5576ae5-59e4-4ee8-959f-c71cd2935aed ${stdout} Logs the given message with the given level. a5576ae5-59e4-4ee8-959f-c71cd2935aed ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = a5576ae5-59e4-4ee8-959f-c71cd2935aed ${id} Logs the given message with the given level. a5576ae5-59e4-4ee8-959f-c71cd2935aed ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a5576ae5-59e4-4ee8-959f-c71cd2935aed ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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_5715" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_5715 | a5576ae5-59e4-4ee8-959f-c71cd2935aed | 2024-04-16T01:58:14 | BUILDING | INSTANTIATING (55aa9e06-3833-4e7f-a815-43ba66f1d9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_5715 | a5576ae5-59e4-4ee8-959f-c71cd2935aed | 2024-04-16T01:58:14 | BUILDING | INSTANTIATING (55aa9e06-3833-4e7f-a815-43ba66f1d9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 8f1900a4-830c-4f42-8640-15e1aa09d522 | fail_01_5715-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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_5715" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_5715 | a5576ae5-59e4-4ee8-959f-c71cd2935aed | 2024-04-16T01:58:14 | BUILDING | INSTANTIATING (55aa9e06-3833-4e7f-a815-43ba66f1d9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_5715 | a5576ae5-59e4-4ee8-959f-c71cd2935aed | 2024-04-16T01:58:14 | BUILDING | INSTANTIATING (55aa9e06-3833-4e7f-a815-43ba66f1d9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 8f1900a4-830c-4f42-8640-15e1aa09d522 | fail_01_5715-vnf-mgmtVM-0 | ACTIVE | fail_01_5715-internal=192.168.149.236; osm-ext=172.21.248.143 | ubuntu20.04 | simple_requires-1-1-flv | | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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_5715" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | 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_5715 | a5576ae5-59e4-4ee8-959f-c71cd2935aed | 2024-04-16T01:58:14 | BROKEN | IDLE (None) | Operation: INSTANTIATING.55aa9e06-3833-4 | | | | | | | e7f-a815-43ba66f1d9cb, 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 205824 of 327680 ram (HTTP 403) | | | | | | | (Request-ID: req-c8b39436-4fd6-4b88-b611 | | | | | | | -2b16142f3e62) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after 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="a5576ae5-59e4-4ee8-959f-c71cd2935aed" | grep a5576ae5-59e4-4ee8-959f-c71cd2935aed | 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 a5576ae5-59e4-4ee8-959f-c71cd2935aed --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 205824 of 327680 ram (HTTP 403) (Request-ID: req-c8b39436-4fd6-4b88-b611-2b16142f3e62)" ${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 205824 of 327680 ram (HTTP 403) (Request-ID: req-c8b39436-4fd6-4b88-b611-2b16142f3e62)" ${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_5715 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 | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 8f1900a4-830c-4f42-8640-15e1aa09d522 | fail_01_5715-vnf-mgmtVM-0 | ACTIVE | fail_01_5715-internal=192.168.149.236; osm-ext=172.21.248.143 | ubuntu20.04 | simple_requires-1-1-flv | | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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_5715 2>&1'. ${rc} = 0 ${stdout} = fail_01_5715 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_5715 == fail_01_5715 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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_5715 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_5715 | 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 b5e925f9-b462-4d91-bb15-21e7f8217839 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b5e925f9-b462-4d91-bb15-21e7f8217839 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 05a6c55c-37d7-4fb3-9aab-a7162370f957 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 05a6c55c-37d7-4fb3-9aab-a7162370f957 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} = b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce ${stdout} Logs the given message with the given level. b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce ${ns_id} Logs the given message with the given level. b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce | 2024-04-16T01:59:32 | BUILDING | INSTANTIATING (e51ba97a-bee9-4d6f-89b5-f869fd865cbd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce | 2024-04-16T01:59:32 | BUILDING | INSTANTIATING (e51ba97a-bee9-4d6f-89b5-f869fd865cbd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ | c5a1f85e-cbff-49c1-95bb-0c4ad126f4e6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce | 2024-04-16T01:59:32 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ | c5a1f85e-cbff-49c1-95bb-0c4ad126f4e6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce | 2024-04-16T01:59:32 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce 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 b8d2ee73-d18f-4a3d-adf7-0be38d11d3ce | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.25 ${stdout} Logs the given message with the given level. 172.21.248.25 ${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.25 ${ip_addr} Logs the given message with the given level. 172.21.248.25 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.25 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.25 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.25 (172.21.248.25) 56(84) bytes of data. 64 bytes from 172.21.248.25: icmp_seq=1 ttl=63 time=2.45 ms 64 bytes from 172.21.248.25: icmp_seq=2 ttl=63 time=0.640 ms --- 172.21.248.25 pin... ${stdout} Logs the given message with the given level. PING 172.21.248.25 (172.21.248.25) 56(84) bytes of data. 64 bytes from 172.21.248.25: icmp_seq=1 ttl=63 time=2.45 ms 64 bytes from 172.21.248.25: icmp_seq=2 ttl=63 time=0.640 ms --- 172.21.248.25 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.640/1.542/2.445/0.902 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.25:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:00:44 UTC 2024 System load: 0.71 Processes: 107 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.248.25 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... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | c251978f-f2d7-4451-9e97-11abe6d577fc | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | c5a1f85e-cbff-49c1-95bb-0c4ad126f4e6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | c251978f-f2d7-4451-9e97-11abe6d577fc | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 2ea8784f-ad52-4abc-8f46-09d2d2c7e0b0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2ea8784f-ad52-4abc-8f46-09d2d2c7e0b0 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 0873bc2c-6f45-4c92-9841-7708e2a137e4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0873bc2c-6f45-4c92-9841-7708e2a137e4 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} = 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 ${stdout} Logs the given message with the given level. 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 ${ns_id} Logs the given message with the given level. 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | BUILDING | INSTANTIATING (09783523-c75e-48cd-83fe-a42086e0bf04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | BUILDING | INSTANTIATING (09783523-c75e-48cd-83fe-a42086e0bf04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 60648b4b-3b66-48ce-984e-cb1a29094e01 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | BUILDING | INSTANTIATING (09783523-c75e-48cd-83fe-a42086e0bf04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | BUILDING | INSTANTIATING (09783523-c75e-48cd-83fe-a42086e0bf04) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | 60648b4b-3b66-48ce-984e-cb1a29094e01 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | 60648b4b-3b66-48ce-984e-cb1a29094e01 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | 2024-04-16T02:01:19 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 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 7405a9ae-f0eb-4b60-a9c2-b43a9c3a00b3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.201 ${stdout} Logs the given message with the given level. 172.21.249.201 ${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.201 ${ip_addr} Logs the given message with the given level. 172.21.249.201 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.201 cluster_main daily hackfest_cloudinit regression sanity 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.201:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:03:02 UTC 2024 System load: 0.34 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.201 Swap usage: 0% IPv4 address for ens4: 192.168.173.129 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfcloudinit-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_cloudinit regression sanity ${stdout} ${vnf_ip_addr} ${username} ${password} ${EMPTY} sudo cat /root/helloworld.txt ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.201:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:03:04 UTC 2024 System load: 0.34 Processes: 104 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.201 Swap usage: 0% IPv4 address for ens4: 192.168.173.129 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 02:03:03 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | 675911d9-877c-44b4-8e1e-3fed818985ce | basic_29-vnf-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 5fc0a660-3569-4fff-aba4-f58150df6872 | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 675911d9-877c-44b4-8e1e-3fed818985ce | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::347 | ubuntu20.04 | simple_requires-1-1-flv | | 5fc0a660-3569-4fff-aba4-f58150df6872 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::11a; osm-ext=172.21.248.156 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 d34a1e5b-e68b-4b69-b519-312f70cefb1a ${rc} ${success_return_code} Fails if objects are unequal after 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} = d34a1e5b-e68b-4b69-b519-312f70cefb1a 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 96cb8739-963c-4fe2-a9b8-b854d73148ad ${rc} ${success_return_code} Fails if objects are unequal after 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} = 96cb8739-963c-4fe2-a9b8-b854d73148ad 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} = a30d4792-8328-4d62-bdc1-ecf778985b15 ${stdout} Logs the given message with the given level. a30d4792-8328-4d62-bdc1-ecf778985b15 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a30d4792-8328-4d62-bdc1-ecf778985b15 ${ns_id} Logs the given message with the given level. a30d4792-8328-4d62-bdc1-ecf778985b15 ${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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 675911d9-877c-44b4-8e1e-3fed818985ce | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::347 | ubuntu20.04 | simple_requires-1-1-flv | | 5fc0a660-3569-4fff-aba4-f58150df6872 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::11a; osm-ext=172.21.248.156 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | BUILDING | INSTANTIATING (a306d1bd-d82f-4894-b49f-334761c1804e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | BUILDING | INSTANTIATING (a306d1bd-d82f-4894-b49f-334761c1804e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------+-------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 675911d9-877c-44b4-8e1e-3fed818985ce | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::347 | ubuntu20.04 | simple_requires-1-1-flv | | 5fc0a660-3569-4fff-aba4-f58150df6872 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::11a; osm-ext=172.21.248.156 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | BUILDING | INSTANTIATING (a306d1bd-d82f-4894-b49f-334761c1804e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | BUILDING | INSTANTIATING (a306d1bd-d82f-4894-b49f-334761c1804e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a30d4792-8328-4d62-bdc1-ecf778985b15 | 2024-04-16T02:03:56 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = a30d4792-8328-4d62-bdc1-ecf778985b15 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a30d4792-8328-4d62-bdc1-ecf778985b15 ${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 a30d4792-8328-4d62-bdc1-ecf778985b15 | 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} = 172.21.248.237 ${ip_addr} Logs the given message with the given level. 172.21.248.237 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.237 cluster_main daily hackfest_multivdu regression ${vnf_ip_addr} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.248.237 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.237 (172.21.248.237) 56(84) bytes of data. 64 bytes from 172.21.248.237: icmp_seq=1 ttl=63 time=2.09 ms 64 bytes from 172.21.248.237: icmp_seq=2 ttl=63 time=1.19 ms --- 172.21.248.237... ${stdout} Logs the given message with the given level. PING 172.21.248.237 (172.21.248.237) 56(84) bytes of data. 64 bytes from 172.21.248.237: icmp_seq=1 ttl=63 time=2.09 ms 64 bytes from 172.21.248.237: icmp_seq=2 ttl=63 time=1.19 ms --- 172.21.248.237 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 1.192/1.638/2.085/0.446 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily hackfest_multivdu regression ${status} ${message} Variable Should Exist ${privatekey} Runs the given keyword with the given arguments and ignores possible error. ${privatekey} Fails unless the given variable exists within the current scope. ${status} = PASS ${message} = None "${status}" == "FAIL" Set Global Variable ${privatekey} ${EMPTY} Runs the given keyword with the given arguments, if ``condition`` is true. ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.237:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:06:01 UTC 2024 System load: 0.73 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.248.237 Swap usage: 0% IPv4 address for ens4: 192.168.72.186 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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 454b49c4-90f4-4bb2-b077-b03ba8a02994 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 454b49c4-90f4-4bb2-b077-b03ba8a02994 '%{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 b407aa6c-164d-4f41-b4fb-1fea21aab5bc ${rc} ${success_return_code} Fails if objects are unequal after 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} = b407aa6c-164d-4f41-b4fb-1fea21aab5bc 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 25e3ddb4-bda0-4090-9bef-e686de34d4ae ${rc} ${success_return_code} Fails if objects are unequal after 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} = 25e3ddb4-bda0-4090-9bef-e686de34d4ae 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} = 842a706a-893c-4333-9bf2-e359153021f3 ${stdout} Logs the given message with the given level. 842a706a-893c-4333-9bf2-e359153021f3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 842a706a-893c-4333-9bf2-e359153021f3 ${ns_id} Logs the given message with the given level. 842a706a-893c-4333-9bf2-e359153021f3 ${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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 1c6b95ae-ddb9-4d08-910d-d6b80ce1025e | multivdu_multiat-vnf-mgmtVM-0 | BUILD | | ubuntu22.04 | mgmtVM-vnf-1-flv | | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | aa7bfa69-e73a-4050-bb82-79d402b75308 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 1c6b95ae-ddb9-4d08-910d-d6b80ce1025e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | BUILDING | INSTANTIATING (c3e1a157-8cf0-4832-aab8-3dd0c3acacff) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | aa7bfa69-e73a-4050-bb82-79d402b75308 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 1c6b95ae-ddb9-4d08-910d-d6b80ce1025e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | aa7bfa69-e73a-4050-bb82-79d402b75308 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 1c6b95ae-ddb9-4d08-910d-d6b80ce1025e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 649307e0-b1e7-4c37-973c-dce96a7f6087 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.108; osm-ext=172.21.248.162 | ubuntu18.04 | simple_requires-1-1-flv | | b5cbccb7-e7c0-496e-abb7-4313ac072097 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.47.167; osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | d0f58026-cc54-406c-8dba-09cc39bbd1de | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 842a706a-893c-4333-9bf2-e359153021f3 | 2024-04-16T02:06:57 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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} = 842a706a-893c-4333-9bf2-e359153021f3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 842a706a-893c-4333-9bf2-e359153021f3 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 842a706a-893c-4333-9bf2-e359153021f3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 4b631760-b447-476a-a2ad-7b84397e47bb ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 | 4b631760-b447-476a-a2ad-7b84397e47bb ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 1: 4b631760-b447-476a-a2ad-7b84397e47bb @{vnf_id_list} = [ ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 | 4b631760-b447-476a-a2ad-7b84397e47bb ] ${vnf_id_list} Logs the given message with the given level. ['ac760f06-ecba-4cb9-b0bb-aeb4485aeab7', '4b631760-b447-476a-a2ad-7b84397e47bb'] ${vnf_id} @{vnf_id_list} ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${vnf_id} Logs the given message with the given level. ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d0f58026-cc54-406c-8dba-09cc39bbd1de ${stdout} Logs the given message with the given level. d0f58026-cc54-406c-8dba-09cc39bbd1de ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = d0f58026-cc54-406c-8dba-09cc39bbd1de @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ d0f58026-cc54-406c-8dba-09cc39bbd1de ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 4b631760-b447-476a-a2ad-7b84397e47bb ${vnf_id} Logs the given message with the given level. 4b631760-b447-476a-a2ad-7b84397e47bb ${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 4b631760-b447-476a-a2ad-7b84397e47bb --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${stdout} Logs the given message with the given level. 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} d0f58026-cc54-406c-8dba-09cc39bbd1de ${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 d0f58026-cc54-406c-8dba-09cc39bbd1de -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${stdout} Logs the given message with the given level. [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['d1a310ec-d476-460d-9901-13c76639d88e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 ${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 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 -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``. e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${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 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 -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. d0f58026-cc54-406c-8dba-09cc39bbd1de 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 @{vim_volumes} Logs the given messages as separate entries using the INFO level. d1a310ec-d476-460d-9901-13c76639d88e 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 842a706a-893c-4333-9bf2-e359153021f3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.62 ${stdout} Logs the given message with the given level. 172.21.249.62 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.62 ${ip_addr} Logs the given message with the given level. 172.21.249.62 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.249.62 ${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 842a706a-893c-4333-9bf2-e359153021f3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${stdout} Logs the given message with the given level. ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d0f58026-cc54-406c-8dba-09cc39bbd1de ${stdout} Logs the given message with the given level. d0f58026-cc54-406c-8dba-09cc39bbd1de ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = d0f58026-cc54-406c-8dba-09cc39bbd1de ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = d0f58026-cc54-406c-8dba-09cc39bbd1de ${vdu_volumes_id} Logs the given message with the given level. d0f58026-cc54-406c-8dba-09cc39bbd1de @{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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.62 ${rc} ${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.62 ] @{volumes_ip_list} = [ 172.21.249.62 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.249.62 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.249.62 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 d0f58026-cc54-406c-8dba-09cc39bbd1de -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${stdout} Logs the given message with the given level. [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['d1a310ec-d476-460d-9901-13c76639d88e'] ${volume_id} ${match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_id} = d1a310ec-d476-460d-9901-13c76639d88e 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.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:11:32 UTC 2024 System load: 0.03 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.62 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 d0f58026-cc54-406c-8dba-09cc39bbd1de 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 842a706a-893c-4333-9bf2-e359153021f3 --vnf ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --cause "Heal VM of volumes_vnf" --vdu several_volumes-VM 2>&1'. ${rc} = 0 ${stdout} = 9bab7119-49f5-42ec-b1af-59e10de9b58d ${rc} ${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 9bab7119-49f5-42ec-b1af-59e10de9b58d --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 9bab7119-49f5-42ec-b1af-59e10de9b58d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9bab7119-49f5-42ec-b1af-59e10de9b58d --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 9bab7119-49f5-42ec-b1af-59e10de9b58d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9bab7119-49f5-42ec-b1af-59e10de9b58d --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 9bab7119-49f5-42ec-b1af-59e10de9b58d --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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.62 ${rc} ${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.62 ] @{ip_list} = [ 172.21.249.62 ] @{ip_list} Logs the given message with the given level. 172.21.249.62 ${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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b053ae57-85c2-41bc-84a3-5224eca480be ${stdout} Logs the given message with the given level. b053ae57-85c2-41bc-84a3-5224eca480be ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = b053ae57-85c2-41bc-84a3-5224eca480be ${id} Logs the given message with the given level. b053ae57-85c2-41bc-84a3-5224eca480be ${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 b053ae57-85c2-41bc-84a3-5224eca480be -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${stdout} Logs the given message with the given level. [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['d1a310ec-d476-460d-9901-13c76639d88e'] ${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.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 02:13:07 UTC 2024 System load: 0.61 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.62 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 842a706a-893c-4333-9bf2-e359153021f3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 4b631760-b447-476a-a2ad-7b84397e47bb ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 | 4b631760-b447-476a-a2ad-7b84397e47bb ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 1: 4b631760-b447-476a-a2ad-7b84397e47bb @{vnf_id_list} = [ ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 | 4b631760-b447-476a-a2ad-7b84397e47bb ] ${vnf_id} @{vnf_id_list} ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 ${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 ac760f06-ecba-4cb9-b0bb-aeb4485aeab7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b053ae57-85c2-41bc-84a3-5224eca480be ${stdout} Logs the given message with the given level. b053ae57-85c2-41bc-84a3-5224eca480be ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = b053ae57-85c2-41bc-84a3-5224eca480be @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ b053ae57-85c2-41bc-84a3-5224eca480be ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} b053ae57-85c2-41bc-84a3-5224eca480be ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 4b631760-b447-476a-a2ad-7b84397e47bb ${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 4b631760-b447-476a-a2ad-7b84397e47bb --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${stdout} Logs the given message with the given level. 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} b053ae57-85c2-41bc-84a3-5224eca480be ${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 b053ae57-85c2-41bc-84a3-5224eca480be -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${stdout} Logs the given message with the given level. [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'd1a310ec-d476-460d-9901-13c76639d88e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['d1a310ec-d476-460d-9901-13c76639d88e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 ${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 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 -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``. e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 ${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 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 -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. d0f58026-cc54-406c-8dba-09cc39bbd1de 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 b053ae57-85c2-41bc-84a3-5224eca480be @{vim_volumes} Logs the given messages as separate entries using the INFO level. d1a310ec-d476-460d-9901-13c76639d88e cluster_heal daily heal_01 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_01 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 739f68d5-d033-4c80-bc47-4151c508ac70 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.8.129; osm-ext=172.21.248.142 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | b053ae57-85c2-41bc-84a3-5224eca480be | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.216.65; osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.216.205; osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 739f68d5-d033-4c80-bc47-4151c508ac70 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.8.129; osm-ext=172.21.248.142 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | b053ae57-85c2-41bc-84a3-5224eca480be | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | several_volumes-VM-flv | | e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.53 | ubuntu18.04 | simple_requires-1-1-flv | | 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.248 | ubuntu18.04 | simple_requires-1-1-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 739f68d5-d033-4c80-bc47-4151c508ac70 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.8.129; osm-ext=172.21.248.142 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 739f68d5-d033-4c80-bc47-4151c508ac70 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.8.129; osm-ext=172.21.248.142 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} d1a310ec-d476-460d-9901-13c76639d88e Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume d1a310ec-d476-460d-9901-13c76639d88e 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 d1a310ec-d476-460d-9901-13c76639d88e | 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} d0f58026-cc54-406c-8dba-09cc39bbd1de Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server d0f58026-cc54-406c-8dba-09cc39bbd1de 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 d0f58026-cc54-406c-8dba-09cc39bbd1de -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'd0f58026-cc54-406c-8dba-09cc39bbd1de' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'd0f58026-cc54-406c-8dba-09cc39bbd1de' 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. 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 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 46f9572b-6be9-4f5c-b59f-e9de0d7eb273 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '46f9572b-6be9-4f5c-b59f-e9de0d7eb273' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '46f9572b-6be9-4f5c-b59f-e9de0d7eb273' 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. e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 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 e191fe66-5b5b-43e5-9599-dd6c9aa2ec52 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'e191fe66-5b5b-43e5-9599-dd6c9aa2ec52' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'e191fe66-5b5b-43e5-9599-dd6c9aa2ec52' 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. b053ae57-85c2-41bc-84a3-5224eca480be Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server b053ae57-85c2-41bc-84a3-5224eca480be 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 b053ae57-85c2-41bc-84a3-5224eca480be -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'b053ae57-85c2-41bc-84a3-5224eca480be' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'b053ae57-85c2-41bc-84a3-5224eca480be' 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 a4b5a751-b168-42d7-9ecb-65863dcc76bd ${rc} ${success_return_code} Fails if objects are unequal after 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} = a4b5a751-b168-42d7-9ecb-65863dcc76bd '%{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 bbcf59a5-5098-4f2c-8ea7-bbd9729d85e5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = bbcf59a5-5098-4f2c-8ea7-bbd9729d85e5 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 6e38a51f-a058-4c08-a2e6-e625ec3eb07c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6e38a51f-a058-4c08-a2e6-e625ec3eb07c 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} = a988e07b-7719-4067-a769-6bf2de64c37e ${stdout} Logs the given message with the given level. a988e07b-7719-4067-a769-6bf2de64c37e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a988e07b-7719-4067-a769-6bf2de64c37e ${ns_id} Logs the given message with the given level. a988e07b-7719-4067-a769-6bf2de64c37e ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | bbb1efe9-4521-4c6f-85d3-40915a173410 | epa_02-epa_quota-vnf-epa_quota-VM-0 | BUILD | | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | bbb1efe9-4521-4c6f-85d3-40915a173410 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.8 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 7c6a304e-b841-4971-a7ae-a881bbf8ae3e | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.87 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | f8d24846-1ea2-4f4d-a87e-b0ba18ecee93 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.106 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 7c6a304e-b841-4971-a7ae-a881bbf8ae3e | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.87 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | f8d24846-1ea2-4f4d-a87e-b0ba18ecee93 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.106 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14:41 | BUILDING | INSTANTIATING (12e0bf6d-9642-477d-8d12-88c7e0e2c187) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | 7c6a304e-b841-4971-a7ae-a881bbf8ae3e | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.87 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | f8d24846-1ea2-4f4d-a87e-b0ba18ecee93 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.106 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14: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} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | 7c6a304e-b841-4971-a7ae-a881bbf8ae3e | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.87 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | f8d24846-1ea2-4f4d-a87e-b0ba18ecee93 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.106 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a988e07b-7719-4067-a769-6bf2de64c37e | 2024-04-16T02:14: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} = a988e07b-7719-4067-a769-6bf2de64c37e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a988e07b-7719-4067-a769-6bf2de64c37e 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 a988e07b-7719-4067-a769-6bf2de64c37e | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${stdout} Logs the given message with the given level. dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 @{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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --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} = 67a707ad-f372-4458-bc10-6e1248410c80 ${rc} ${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 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 67a707ad-f372-4458-bc10-6e1248410c80 --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 67a707ad-f372-4458-bc10-6e1248410c80 --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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --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 a988e07b-7719-4067-a769-6bf2de64c37e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 77d4cba6-67ba-4b44-b0df-fd587b8d7741 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 77d4cba6-67ba-4b44-b0df-fd587b8d7741 | dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 77d4cba6-67ba-4b44-b0df-fd587b8d7741 1: dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 @{vnf_id_list} = [ 77d4cba6-67ba-4b44-b0df-fd587b8d7741 | dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] ${vnf_id_list} Logs the given message with the given level. ['77d4cba6-67ba-4b44-b0df-fd587b8d7741', 'dcf12837-e3cb-4b0c-b5b4-60eda1d321a9'] ${vnf_id} @{vnf_id_list} 77d4cba6-67ba-4b44-b0df-fd587b8d7741 ${vnf_id} Logs the given message with the given level. 77d4cba6-67ba-4b44-b0df-fd587b8d7741 ${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 77d4cba6-67ba-4b44-b0df-fd587b8d7741 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${stdout} Logs the given message with the given level. 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 7a80b1b4-a1ed-4990-99a3-645d534136a7 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 7a80b1b4-a1ed-4990-99a3-645d534136a7 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${vnf_id} Logs the given message with the given level. dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${stdout} Logs the given message with the given level. 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 87f0b740-fe19-4e83-be39-7922874b880a | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${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 7a80b1b4-a1ed-4990-99a3-645d534136a7 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${stdout} Logs the given message with the given level. [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['2e62e766-8178-4fdc-92ac-657eba37c75d'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 87f0b740-fe19-4e83-be39-7922874b880a ${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 87f0b740-fe19-4e83-be39-7922874b880a -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``. b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec ${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 b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec -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``. 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${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 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 -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. 7a80b1b4-a1ed-4990-99a3-645d534136a7 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 2e62e766-8178-4fdc-92ac-657eba37c75d 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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${stdout} Logs the given message with the given level. 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 87f0b740-fe19-4e83-be39-7922874b880a | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 87f0b740-fe19-4e83-be39-7922874b880a | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ] ${vdu_charm_ids}[1] Logs the given message with the given level. b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec @{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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.68 192.168.241.95 172.21.249.36 192.168.241.11 172.21.248.202 192.168.241.190 ${rc} ${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.68 | 192.168.241.95 | 172.21.249.36 | 192.168.241.11 | 172.21.248.202 | 192.168.241.190 ] @{charm_ip_list} = [ 172.21.249.68 | 192.168.241.95 | 172.21.249.36 | 192.168.241.11 | 172.21.248.202 | 192.168.241.190 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.249.68 | 192.168.241.95 | 172.21.249.36 | 192.168.241.11 | 172.21.248.202 | 192.168.241.190 ] 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 b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 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 a988e07b-7719-4067-a769-6bf2de64c37e --vnf dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --cause "Heal VM of charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 2>&1'. ${rc} = 0 ${stdout} = e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${rc} ${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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 e52412ff-8b4a-46ae-9e7a-aab67162ce6d --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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.68 192.168.241.95 172.21.249.36 192.168.241.11 172.21.248.202 192.168.241.190 ${rc} ${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.68 | 192.168.241.95 | 172.21.249.36 | 192.168.241.11 | 172.21.248.202 | 192.168.241.190 ] @{ip_list} = [ 172.21.249.68 | 192.168.241.95 | 172.21.249.36 | 192.168.241.11 | 172.21.248.202 | 192.168.241.190 ] ${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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${stdout} Logs the given message with the given level. 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 87f0b740-fe19-4e83-be39-7922874b880a | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ] ${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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.36 ${rc} ${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.36 ${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.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 02:27:01 UTC 2024 System load: 0.73 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.36 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.36:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 02:27:03 UTC 2024 System load: 0.73 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.36 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Tue Apr 16 02:27:02 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 a988e07b-7719-4067-a769-6bf2de64c37e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 77d4cba6-67ba-4b44-b0df-fd587b8d7741 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 77d4cba6-67ba-4b44-b0df-fd587b8d7741 | dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 77d4cba6-67ba-4b44-b0df-fd587b8d7741 1: dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 @{vnf_id_list} = [ 77d4cba6-67ba-4b44-b0df-fd587b8d7741 | dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ] ${vnf_id} @{vnf_id_list} 77d4cba6-67ba-4b44-b0df-fd587b8d7741 ${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 77d4cba6-67ba-4b44-b0df-fd587b8d7741 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${stdout} Logs the given message with the given level. 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 7a80b1b4-a1ed-4990-99a3-645d534136a7 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 7a80b1b4-a1ed-4990-99a3-645d534136a7 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 ${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 dcf12837-e3cb-4b0c-b5b4-60eda1d321a9 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${stdout} Logs the given message with the given level. 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 87f0b740-fe19-4e83-be39-7922874b880a 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 87f0b740-fe19-4e83-be39-7922874b880a | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 87f0b740-fe19-4e83-be39-7922874b880a ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 7a80b1b4-a1ed-4990-99a3-645d534136a7 ${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 7a80b1b4-a1ed-4990-99a3-645d534136a7 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${stdout} Logs the given message with the given level. [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '2e62e766-8178-4fdc-92ac-657eba37c75d'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['2e62e766-8178-4fdc-92ac-657eba37c75d'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 87f0b740-fe19-4e83-be39-7922874b880a ${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 87f0b740-fe19-4e83-be39-7922874b880a -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``. 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 ${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 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 -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``. 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 ${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 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 -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. 7a80b1b4-a1ed-4990-99a3-645d534136a7 87f0b740-fe19-4e83-be39-7922874b880a b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 2e62e766-8178-4fdc-92ac-657eba37c75d 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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | BUILD | | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} 2e62e766-8178-4fdc-92ac-657eba37c75d Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 2e62e766-8178-4fdc-92ac-657eba37c75d 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 2e62e766-8178-4fdc-92ac-657eba37c75d | 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} 7a80b1b4-a1ed-4990-99a3-645d534136a7 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 7a80b1b4-a1ed-4990-99a3-645d534136a7 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 7a80b1b4-a1ed-4990-99a3-645d534136a7 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '7a80b1b4-a1ed-4990-99a3-645d534136a7' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '7a80b1b4-a1ed-4990-99a3-645d534136a7' 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. 87f0b740-fe19-4e83-be39-7922874b880a Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 87f0b740-fe19-4e83-be39-7922874b880a 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 87f0b740-fe19-4e83-be39-7922874b880a -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '87f0b740-fe19-4e83-be39-7922874b880a' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '87f0b740-fe19-4e83-be39-7922874b880a' 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. b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec 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 b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec' 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. 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 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 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '57f7a8e2-7c6f-44c2-ac1c-69762acb8785' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '57f7a8e2-7c6f-44c2-ac1c-69762acb8785' 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. 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 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 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '60119ada-69e0-4ac6-90c3-6c5c3e88f9b3' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '60119ada-69e0-4ac6-90c3-6c5c3e88f9b3' 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 d467f7f3-a9f1-415f-859e-52052c7a2469 ${rc} ${success_return_code} Fails if objects are unequal after 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} = d467f7f3-a9f1-415f-859e-52052c7a2469 '%{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 5f9ea854-e102-498e-8c1f-c22d7b51f979 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 5f9ea854-e102-498e-8c1f-c22d7b51f979 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 09e26ade-667c-422a-9791-fb3a42832b93 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 09e26ade-667c-422a-9791-fb3a42832b93 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} = 3c1f3fb8-9571-4c2c-b015-86f705af3381 ${stdout} Logs the given message with the given level. 3c1f3fb8-9571-4c2c-b015-86f705af3381 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3c1f3fb8-9571-4c2c-b015-86f705af3381 ${ns_id} Logs the given message with the given level. 3c1f3fb8-9571-4c2c-b015-86f705af3381 ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 9b2f64f8-a7eb-4d44-a371-847dfcb32e3b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 9b2f64f8-a7eb-4d44-a371-847dfcb32e3b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+------------------------------------------------------------------------------------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 9b2f64f8-a7eb-4d44-a371-847dfcb32e3b | heal_01-several_volumes_-several_volumes-VM-0 | DELETED | | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 8143877d-ce5c-4734-b647-01485dd4a6f1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.101; slicebasic.slice-nsd_vnfd_vld_dat=192.168.86.189 | ubuntu18.04 | simple_requires-1-1-flv | | 65fbe369-8cd2-4ce4-b2e1-213f98b44fb5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.97; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.123 | ubuntu18.04 | simple_requires-1-1-flv | | ec7a6df0-e25b-4d7a-b947-d2e341da0f3d | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.93; slicebasic.slice-nsd_vnfd_vld_dat=192.168.218.197, 192.168.86.106 | ubuntu18.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | b9f64963-564c-489a-b667-09c6049e0850 | heal_02-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | BUILDING | INSTANTIATING (d832c9cc-570b-4204-9d49-c2e809e2c7c1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 07869645-a712-416a-bd97-9ff777f207a0 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.64.172; osm-ext=172.21.248.202 | ubuntu18.04 | osm.heal02_483559 | | 03054495-4beb-447a-84c8-3aac619302d9 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.64.93; osm-ext=172.21.249.50 | ubuntu18.04 | osm.heal02_483559 | | b9f64963-564c-489a-b667-09c6049e0850 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.39 | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 07869645-a712-416a-bd97-9ff777f207a0 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.64.172; osm-ext=172.21.248.202 | ubuntu18.04 | osm.heal02_483559 | | 03054495-4beb-447a-84c8-3aac619302d9 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.64.93; osm-ext=172.21.249.50 | ubuntu18.04 | osm.heal02_483559 | | b9f64963-564c-489a-b667-09c6049e0850 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.39 | ubuntu20.04 | several_volumes-VM-flv | | 33a01449-c3ae-4bef-af90-1be3127b78a2 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 83ab9b55-d190-4579-aca7-f81a9603f1fd | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3c1f3fb8-9571-4c2c-b015-86f705af3381 | 2024-04-16T02:30:26 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 3c1f3fb8-9571-4c2c-b015-86f705af3381 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 3c1f3fb8-9571-4c2c-b015-86f705af3381 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 3c1f3fb8-9571-4c2c-b015-86f705af3381 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2dc45e26-7c22-402e-9a82-f9798638a57c ${stdout} Logs the given message with the given level. 2dc45e26-7c22-402e-9a82-f9798638a57c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 2dc45e26-7c22-402e-9a82-f9798638a57c ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = 2dc45e26-7c22-402e-9a82-f9798638a57c @{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 2dc45e26-7c22-402e-9a82-f9798638a57c --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} = 68363fc5-641f-4391-94fc-9db15b211c84 ${rc} ${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 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 68363fc5-641f-4391-94fc-9db15b211c84 --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 68363fc5-641f-4391-94fc-9db15b211c84 --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 2dc45e26-7c22-402e-9a82-f9798638a57c --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 3c1f3fb8-9571-4c2c-b015-86f705af3381 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 2dc45e26-7c22-402e-9a82-f9798638a57c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 | 2dc45e26-7c22-402e-9a82-f9798638a57c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 1: 2dc45e26-7c22-402e-9a82-f9798638a57c @{vnf_id_list} = [ bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 | 2dc45e26-7c22-402e-9a82-f9798638a57c ] ${vnf_id_list} Logs the given message with the given level. ['bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173', '2dc45e26-7c22-402e-9a82-f9798638a57c'] ${vnf_id} @{vnf_id_list} bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${vnf_id} Logs the given message with the given level. bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${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 bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 83ab9b55-d190-4579-aca7-f81a9603f1fd ${stdout} Logs the given message with the given level. 83ab9b55-d190-4579-aca7-f81a9603f1fd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 83ab9b55-d190-4579-aca7-f81a9603f1fd @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 83ab9b55-d190-4579-aca7-f81a9603f1fd ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 2dc45e26-7c22-402e-9a82-f9798638a57c ${vnf_id} Logs the given message with the given level. 2dc45e26-7c22-402e-9a82-f9798638a57c ${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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ${stdout} Logs the given message with the given level. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | 33a01449-c3ae-4bef-af90-1be3127b78a2 | 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 83ab9b55-d190-4579-aca7-f81a9603f1fd ${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 83ab9b55-d190-4579-aca7-f81a9603f1fd -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${stdout} Logs the given message with the given level. [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['f189a60a-d156-4b10-a795-22ca7fb02e75'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 ${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 f5e6fdb9-08c9-43d6-a376-21fcdccb0289 -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``. 33a01449-c3ae-4bef-af90-1be3127b78a2 ${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 33a01449-c3ae-4bef-af90-1be3127b78a2 -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``. 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ${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 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 -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. 83ab9b55-d190-4579-aca7-f81a9603f1fd f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 @{vim_volumes} Logs the given messages as separate entries using the INFO level. f189a60a-d156-4b10-a795-22ca7fb02e75 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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ${stdout} Logs the given message with the given level. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | 33a01449-c3ae-4bef-af90-1be3127b78a2 | 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | 33a01449-c3ae-4bef-af90-1be3127b78a2 | 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 ] ${vdu_charm_ids}[1] Logs the given message with the given level. 33a01449-c3ae-4bef-af90-1be3127b78a2 @{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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.71 192.168.172.159 172.21.248.242 192.168.172.239 172.21.249.176 192.168.172.227 ${rc} ${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.71 | 192.168.172.159 | 172.21.248.242 | 192.168.172.239 | 172.21.249.176 | 192.168.172.227 ] @{charm_ip_list} = [ 172.21.249.71 | 192.168.172.159 | 172.21.248.242 | 192.168.172.239 | 172.21.249.176 | 192.168.172.227 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.249.71 | 192.168.172.159 | 172.21.248.242 | 192.168.172.239 | 172.21.249.176 | 192.168.172.227 ] 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 3c1f3fb8-9571-4c2c-b015-86f705af3381 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.2 ${stdout} Logs the given message with the given level. 172.21.248.2 ${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.2 ${ip_addr} Logs the given message with the given level. 172.21.248.2 ${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.2 ${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 3c1f3fb8-9571-4c2c-b015-86f705af3381 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${stdout} Logs the given message with the given level. bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${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 bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 83ab9b55-d190-4579-aca7-f81a9603f1fd ${stdout} Logs the given message with the given level. 83ab9b55-d190-4579-aca7-f81a9603f1fd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 83ab9b55-d190-4579-aca7-f81a9603f1fd ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 83ab9b55-d190-4579-aca7-f81a9603f1fd ${vdu_volumes_id} Logs the given message with the given level. 83ab9b55-d190-4579-aca7-f81a9603f1fd @{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 bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.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'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.2 ] @{volumes_ip_list} = [ 172.21.248.2 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.248.2 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.248.2 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 33a01449-c3ae-4bef-af90-1be3127b78a2 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 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 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 83ab9b55-d190-4579-aca7-f81a9603f1fd 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 3c1f3fb8-9571-4c2c-b015-86f705af3381 --vnf bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf 2dc45e26-7c22-402e-9a82-f9798638a57c --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} = 0d094c7c-5058-43ac-8471-301dbb13afd1 ${rc} ${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 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 0d094c7c-5058-43ac-8471-301dbb13afd1 --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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${stdout} Logs the given message with the given level. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ] ${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 bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 37c7e2be-d3db-4af4-95c6-2e149193ffff ${stdout} Logs the given message with the given level. 37c7e2be-d3db-4af4-95c6-2e149193ffff ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 37c7e2be-d3db-4af4-95c6-2e149193ffff ${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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.242 ${rc} ${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.242 ${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.242:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 02:43:22 UTC 2024 System load: 0.53 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.242 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.242:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Tue Apr 16 02:43:24 UTC 2024 System load: 0.53 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.242 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Tue Apr 16 02:43:23 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 3c1f3fb8-9571-4c2c-b015-86f705af3381 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 2dc45e26-7c22-402e-9a82-f9798638a57c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 | 2dc45e26-7c22-402e-9a82-f9798638a57c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 1: 2dc45e26-7c22-402e-9a82-f9798638a57c @{vnf_id_list} = [ bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 | 2dc45e26-7c22-402e-9a82-f9798638a57c ] ${vnf_id} @{vnf_id_list} bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 ${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 bd3e5007-b8a8-4dd3-8fb4-ef3ff9f76173 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 37c7e2be-d3db-4af4-95c6-2e149193ffff ${stdout} Logs the given message with the given level. 37c7e2be-d3db-4af4-95c6-2e149193ffff ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 37c7e2be-d3db-4af4-95c6-2e149193ffff @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 37c7e2be-d3db-4af4-95c6-2e149193ffff ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 37c7e2be-d3db-4af4-95c6-2e149193ffff ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 2dc45e26-7c22-402e-9a82-f9798638a57c ${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 2dc45e26-7c22-402e-9a82-f9798638a57c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${stdout} Logs the given message with the given level. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f5e6fdb9-08c9-43d6-a376-21fcdccb0289 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} f5e6fdb9-08c9-43d6-a376-21fcdccb0289 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 9d25a8b7-2932-4ac0-b65e-9403db074c64 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 37c7e2be-d3db-4af4-95c6-2e149193ffff ${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 37c7e2be-d3db-4af4-95c6-2e149193ffff -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${stdout} Logs the given message with the given level. [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'f189a60a-d156-4b10-a795-22ca7fb02e75'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['f189a60a-d156-4b10-a795-22ca7fb02e75'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 ${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 f5e6fdb9-08c9-43d6-a376-21fcdccb0289 -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``. 9d25a8b7-2932-4ac0-b65e-9403db074c64 ${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 9d25a8b7-2932-4ac0-b65e-9403db074c64 -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``. dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec ${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 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec -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. 83ab9b55-d190-4579-aca7-f81a9603f1fd f5e6fdb9-08c9-43d6-a376-21fcdccb0289 33a01449-c3ae-4bef-af90-1be3127b78a2 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 37c7e2be-d3db-4af4-95c6-2e149193ffff 9d25a8b7-2932-4ac0-b65e-9403db074c64 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec @{vim_volumes} Logs the given messages as separate entries using the INFO level. f189a60a-d156-4b10-a795-22ca7fb02e75 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.172.227; osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.172.239; osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.172.159; osm-ext=172.21.249.71 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.249.176 | ubuntu18.04 | simple_requires-1-1-flv | | 9d25a8b7-2932-4ac0-b65e-9403db074c64 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.242 | ubuntu18.04 | simple_requires-1-1-flv | | 37c7e2be-d3db-4af4-95c6-2e149193ffff | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.2 | ubuntu20.04 | several_volumes-VM-flv | | f5e6fdb9-08c9-43d6-a376-21fcdccb0289 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} f189a60a-d156-4b10-a795-22ca7fb02e75 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume f189a60a-d156-4b10-a795-22ca7fb02e75 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 f189a60a-d156-4b10-a795-22ca7fb02e75 | 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} 83ab9b55-d190-4579-aca7-f81a9603f1fd Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 83ab9b55-d190-4579-aca7-f81a9603f1fd 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 83ab9b55-d190-4579-aca7-f81a9603f1fd -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '83ab9b55-d190-4579-aca7-f81a9603f1fd' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '83ab9b55-d190-4579-aca7-f81a9603f1fd' 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. f5e6fdb9-08c9-43d6-a376-21fcdccb0289 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server f5e6fdb9-08c9-43d6-a376-21fcdccb0289 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 f5e6fdb9-08c9-43d6-a376-21fcdccb0289 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'f5e6fdb9-08c9-43d6-a376-21fcdccb0289' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'f5e6fdb9-08c9-43d6-a376-21fcdccb0289' 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. 33a01449-c3ae-4bef-af90-1be3127b78a2 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 33a01449-c3ae-4bef-af90-1be3127b78a2 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 33a01449-c3ae-4bef-af90-1be3127b78a2 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '33a01449-c3ae-4bef-af90-1be3127b78a2' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '33a01449-c3ae-4bef-af90-1be3127b78a2' 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. 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 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 7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '7b713a88-16c5-4e6e-9ce8-d13cc08f8bc6' 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. 37c7e2be-d3db-4af4-95c6-2e149193ffff Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 37c7e2be-d3db-4af4-95c6-2e149193ffff 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 37c7e2be-d3db-4af4-95c6-2e149193ffff -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '37c7e2be-d3db-4af4-95c6-2e149193ffff' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '37c7e2be-d3db-4af4-95c6-2e149193ffff' 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. 9d25a8b7-2932-4ac0-b65e-9403db074c64 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 9d25a8b7-2932-4ac0-b65e-9403db074c64 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 9d25a8b7-2932-4ac0-b65e-9403db074c64 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '9d25a8b7-2932-4ac0-b65e-9403db074c64' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '9d25a8b7-2932-4ac0-b65e-9403db074c64' 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. dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec 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 dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'dceb3741-8ad1-4ab1-8ac0-bfe57ee863ec' 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 33d9eeaa-5063-4d7a-ac0a-d12abde06b1c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 33d9eeaa-5063-4d7a-ac0a-d12abde06b1c 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 48e022eb-e4fd-47bb-94cb-3b1a7ff48e35 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 48e022eb-e4fd-47bb-94cb-3b1a7ff48e35 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} = aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 ${stdout} Logs the given message with the given level. aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 ${ns_id} Logs the given message with the given level. aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | fdc7140f-6f79-4967-8d84-17ea73bf0152 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.231 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 2024-04-16T02:46:48 | BUILDING | INSTANTIATING (8d085e38-7fce-47b0-a8c7-37d3aed3fd15) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 2024-04-16T02:46:48 | BUILDING | INSTANTIATING (8d085e38-7fce-47b0-a8c7-37d3aed3fd15) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 38782203-1b9a-430b-965b-1f4d6e2bc99b | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 2024-04-16T02:46: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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 38782203-1b9a-430b-965b-1f4d6e2bc99b | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f136f523-a525-4e8c-8b6e-72000a4f2613 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.157 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | d20e7e9f-b358-4355-bcb1-e6b9aaa4215f | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.95 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 2024-04-16T02:46: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} = aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 6615913f-3800-4102-ad1c-c738898a93a7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 6615913f-3800-4102-ad1c-c738898a93a7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 6615913f-3800-4102-ad1c-c738898a93a7 @{vnf_id_list} = [ 6615913f-3800-4102-ad1c-c738898a93a7 ] ${vnf_id_list} Logs the given message with the given level. ['6615913f-3800-4102-ad1c-c738898a93a7'] ${vnf_id} @{vnf_id_list} 6615913f-3800-4102-ad1c-c738898a93a7 ${vnf_id} Logs the given message with the given level. 6615913f-3800-4102-ad1c-c738898a93a7 ${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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 38782203-1b9a-430b-965b-1f4d6e2bc99b ${stdout} Logs the given message with the given level. 38782203-1b9a-430b-965b-1f4d6e2bc99b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 38782203-1b9a-430b-965b-1f4d6e2bc99b @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 38782203-1b9a-430b-965b-1f4d6e2bc99b ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 38782203-1b9a-430b-965b-1f4d6e2bc99b 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.170 ${stdout} Logs the given message with the given level. 172.21.249.170 ${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.170 ${ip_addr} Logs the given message with the given level. 172.21.249.170 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.170 ${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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 6615913f-3800-4102-ad1c-c738898a93a7 ${stdout} Logs the given message with the given level. 6615913f-3800-4102-ad1c-c738898a93a7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 6615913f-3800-4102-ad1c-c738898a93a7 ${vnf_autoheal_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_autoheal_id} = 6615913f-3800-4102-ad1c-c738898a93a7 ${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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 38782203-1b9a-430b-965b-1f4d6e2bc99b ${stdout} Logs the given message with the given level. 38782203-1b9a-430b-965b-1f4d6e2bc99b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 38782203-1b9a-430b-965b-1f4d6e2bc99b ${vdu_autoheal_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_autoheal_id} = 38782203-1b9a-430b-965b-1f4d6e2bc99b ${vdu_autoheal_id} Logs the given message with the given level. 38782203-1b9a-430b-965b-1f4d6e2bc99b @{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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.170 ${rc} ${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.170 ] @{autoheal_ip_list} = [ 172.21.249.170 ] @{autoheal_ip_list} @{autoheal_ip_list} Makes a variable available everywhere within the scope of the current suite. @{autoheal_ip_list} = [ 172.21.249.170 ] @{autoheal_ip_list} Logs the given message with the given level. 172.21.249.170 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 38782203-1b9a-430b-965b-1f4d6e2bc99b 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | 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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 08f5e1e6-3134-414c-a468-939f33df36d7 ${stdout} Logs the given message with the given level. 08f5e1e6-3134-414c-a468-939f33df36d7 ${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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 08f5e1e6-3134-414c-a468-939f33df36d7 ${stdout} Logs the given message with the given level. 08f5e1e6-3134-414c-a468-939f33df36d7 ${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} = 08f5e1e6-3134-414c-a468-939f33df36d7 ${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 08f5e1e6-3134-414c-a468-939f33df36d7 --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 08f5e1e6-3134-414c-a468-939f33df36d7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 08f5e1e6-3134-414c-a468-939f33df36d7 --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 08f5e1e6-3134-414c-a468-939f33df36d7 --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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.170 ${rc} ${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.170 ] @{ip_list} = [ 172.21.249.170 ] @{ip_list} Logs the given message with the given level. 172.21.249.170 ${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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${stdout} Logs the given message with the given level. 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${id} Logs the given message with the given level. 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${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 aa79eec3-074f-4f0f-a6f8-69e6ee2075f5 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 6615913f-3800-4102-ad1c-c738898a93a7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 6615913f-3800-4102-ad1c-c738898a93a7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 6615913f-3800-4102-ad1c-c738898a93a7 @{vnf_id_list} = [ 6615913f-3800-4102-ad1c-c738898a93a7 ] ${vnf_id} @{vnf_id_list} 6615913f-3800-4102-ad1c-c738898a93a7 ${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 6615913f-3800-4102-ad1c-c738898a93a7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${stdout} Logs the given message with the given level. 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ] ${id} @{vdu_ids} 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 38782203-1b9a-430b-965b-1f4d6e2bc99b 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 cluster_heal daily heal_04 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_04 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 2816c38b-43f4-433b-b007-2082c7e8b8d5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.241; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.186 | ubuntu18.04 | simple_requires-1-1-flv | | bb426a96-0718-4373-aaa1-0661bb2230a7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.234; slicebasic.slice-nsd_vnfd_vld_dat=192.168.151.3 | ubuntu18.04 | simple_requires-1-1-flv | | 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | cb908085-87b9-4c58-b53f-79f7dcf741b8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.166; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.20, 192.168.151.201 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-------------------------+ | 2816c38b-43f4-433b-b007-2082c7e8b8d5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.241; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.186 | ubuntu18.04 | simple_requires-1-1-flv | | bb426a96-0718-4373-aaa1-0661bb2230a7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.234; slicebasic.slice-nsd_vnfd_vld_dat=192.168.151.3 | ubuntu18.04 | simple_requires-1-1-flv | | cb908085-87b9-4c58-b53f-79f7dcf741b8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.166; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.20, 192.168.151.201 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} 38782203-1b9a-430b-965b-1f4d6e2bc99b Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 38782203-1b9a-430b-965b-1f4d6e2bc99b 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 38782203-1b9a-430b-965b-1f4d6e2bc99b -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '38782203-1b9a-430b-965b-1f4d6e2bc99b' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '38782203-1b9a-430b-965b-1f4d6e2bc99b' 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. 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 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 0f1ac893-c7b9-40ce-89a5-0537e83d69a2 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '0f1ac893-c7b9-40ce-89a5-0537e83d69a2' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '0f1ac893-c7b9-40ce-89a5-0537e83d69a2' 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} = a612b1cc-1ed2-4496-bf27-837010de1ca2 ${stdout} Logs the given message with the given level. a612b1cc-1ed2-4496-bf27-837010de1ca2 ${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 | a612b1cc-1ed2-4496-bf27-837010de1ca2 | 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 | a612b1cc-1ed2-4496-bf27-837010de1ca2 | 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 | "a612b1cc-1ed2-4496-bf27-837010de1ca2" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713235910.0230458, | | | "modified": 1713235914.9845812, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713235910.0230815, | | | "statusEnteredTime": 1713235910.0230815, | | | "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": "a612b1cc-1ed2-4496-bf27-837010de1ca2", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "a612b1cc-1ed2-4496-bf27-837010de1ca2", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "a612b1cc-1ed2-4496-bf27-837010de1ca2", | | | "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 | a612b1cc-1ed2-4496-bf27-837010de1ca2 | 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 | a612b1cc-1ed2-4496-bf27-837010de1ca2 | 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 c81216b2-28dc-4ad4-941c-e2e083a15e00 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c81216b2-28dc-4ad4-941c-e2e083a15e00 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 481bd2d1-efcc-426f-882a-19a2d310bd96 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 481bd2d1-efcc-426f-882a-19a2d310bd96 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} = b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 ${stdout} Logs the given message with the given level. b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 ${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 | b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 | 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 | b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 | 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 | "b4760518-70e1-4bf9-9a7e-0e92bc02e9a7" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713235970.4855158, | | | "modified": 1713235975.7588859, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713235970.4855442, | | | "statusEnteredTime": 1713235970.4855442, | | | "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": "b4760518-70e1-4bf9-9a7e-0e92bc02e9a7", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "b4760518-70e1-4bf9-9a7e-0e92bc02e9a7", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "b4760518-70e1-4bf9-9a7e-0e92bc02e9a7", | | | "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 | b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 | 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 | b4760518-70e1-4bf9-9a7e-0e92bc02e9a7 | 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} = 9202b231-dc31-4cb5-a324-fb8856fa9beb ${stdout} Logs the given message with the given level. 9202b231-dc31-4cb5-a324-fb8856fa9beb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9202b231-dc31-4cb5-a324-fb8856fa9beb ${ns_id} Logs the given message with the given level. 9202b231-dc31-4cb5-a324-fb8856fa9beb ${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 | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-------------------------+ | 2816c38b-43f4-433b-b007-2082c7e8b8d5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.241; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.186 | ubuntu18.04 | simple_requires-1-1-flv | | bb426a96-0718-4373-aaa1-0661bb2230a7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.234; slicebasic.slice-nsd_vnfd_vld_dat=192.168.151.3 | ubuntu18.04 | simple_requires-1-1-flv | | cb908085-87b9-4c58-b53f-79f7dcf741b8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.166; slicebasic.slice-nsd_vnfd_vld_dat=192.168.137.20, 192.168.151.201 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | BUILDING | INSTANTIATING (fd5e3321-223f-413f-8252-8804fde784dd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | BUILDING | INSTANTIATING (fd5e3321-223f-413f-8252-8804fde784dd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | BUILDING | INSTANTIATING (fd5e3321-223f-413f-8252-8804fde784dd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | BUILDING | INSTANTIATING (fd5e3321-223f-413f-8252-8804fde784dd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 9202b231-dc31-4cb5-a324-fb8856fa9beb | 2024-04-16T02:53:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 9202b231-dc31-4cb5-a324-fb8856fa9beb ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9202b231-dc31-4cb5-a324-fb8856fa9beb 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} = 43c2dd43-b11d-41d2-b847-ab6372eb1195 ${rc} ${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 43c2dd43-b11d-41d2-b847-ab6372eb1195 --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 43c2dd43-b11d-41d2-b847-ab6372eb1195 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 43c2dd43-b11d-41d2-b847-ab6372eb1195 --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 43c2dd43-b11d-41d2-b847-ab6372eb1195 --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} = 43c2dd43-b11d-41d2-b847-ab6372eb1195 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 | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 cc4d23f4-b310-4d85-b74d-39ad5c3df860 ${rc} ${success_return_code} Fails if objects are unequal after 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} = cc4d23f4-b310-4d85-b74d-39ad5c3df860 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 b420583d-f953-4bf6-8fcb-ccec804676c4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b420583d-f953-4bf6-8fcb-ccec804676c4 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} = da2ae79c-7618-400f-a4a3-282fc873b825 ${stdout} Logs the given message with the given level. da2ae79c-7618-400f-a4a3-282fc873b825 ${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 | da2ae79c-7618-400f-a4a3-282fc873b825 | 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 | da2ae79c-7618-400f-a4a3-282fc873b825 | 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 | "da2ae79c-7618-400f-a4a3-282fc873b825" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713236244.3628905, | | | "modified": 1713236249.130235, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713236244.3629305, | | | "statusEnteredTime": 1713236244.3629305, | | | "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": "da2ae79c-7618-400f-a4a3-282fc873b825", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "da2ae79c-7618-400f-a4a3-282fc873b825", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "da2ae79c-7618-400f-a4a3-282fc873b825", | | | "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 | da2ae79c-7618-400f-a4a3-282fc873b825 | 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 | da2ae79c-7618-400f-a4a3-282fc873b825 | 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} = 545022e9-e1e9-4bf3-8183-b154f308a416 ${stdout} Logs the given message with the given level. 545022e9-e1e9-4bf3-8183-b154f308a416 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 545022e9-e1e9-4bf3-8183-b154f308a416 ${ns_id} Logs the given message with the given level. 545022e9-e1e9-4bf3-8183-b154f308a416 ${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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | BUILDING | INSTANTIATING (7ff33ff0-14bc-49a1-bd94-deb2d50fe6ad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | BUILDING | INSTANTIATING (7ff33ff0-14bc-49a1-bd94-deb2d50fe6ad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | BUILD | | ubuntu22.04 | osm.sanity | | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | BUILDING | INSTANTIATING (7ff33ff0-14bc-49a1-bd94-deb2d50fe6ad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | BUILDING | INSTANTIATING (7ff33ff0-14bc-49a1-bd94-deb2d50fe6ad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 7606efc9-5b2a-4ec6-8753-447a0a3c3c4c | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.60.142 | ubuntu18.04 | simple_requires-1-1-flv | | 042669b3-a6cd-4277-a16f-9623007d77c9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.112; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.130 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155, 192.168.60.246 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 545022e9-e1e9-4bf3-8183-b154f308a416 | 2024-04-16T02:58:01 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 545022e9-e1e9-4bf3-8183-b154f308a416 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} = 545022e9-e1e9-4bf3-8183-b154f308a416 ${stdout} Logs the given message with the given level. 545022e9-e1e9-4bf3-8183-b154f308a416 ${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} = 545022e9-e1e9-4bf3-8183-b154f308a416 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 545022e9-e1e9-4bf3-8183-b154f308a416 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 545022e9-e1e9-4bf3-8183-b154f308a416 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 9562453d-d9e8-4d5d-be39-056563d4f419 ${rc} ${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} = [ 9562453d-d9e8-4d5d-be39-056563d4f419 ] @{vnfr_list} = [ 9562453d-d9e8-4d5d-be39-056563d4f419 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 9562453d-d9e8-4d5d-be39-056563d4f419 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 9562453d-d9e8-4d5d-be39-056563d4f419 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} = 9ca2af3f-3b83-4749-a075-057bc1bd561e ${rc} ${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 9ca2af3f-3b83-4749-a075-057bc1bd561e --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 9ca2af3f-3b83-4749-a075-057bc1bd561e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ca2af3f-3b83-4749-a075-057bc1bd561e --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 9ca2af3f-3b83-4749-a075-057bc1bd561e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ca2af3f-3b83-4749-a075-057bc1bd561e --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 9ca2af3f-3b83-4749-a075-057bc1bd561e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9ca2af3f-3b83-4749-a075-057bc1bd561e --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 9ca2af3f-3b83-4749-a075-057bc1bd561e --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} = 9ca2af3f-3b83-4749-a075-057bc1bd561e 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 9562453d-d9e8-4d5d-be39-056563d4f419 --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} = b49b0311-a867-4816-8c60-99ac26a0389d ${rc} ${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 b49b0311-a867-4816-8c60-99ac26a0389d --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 b49b0311-a867-4816-8c60-99ac26a0389d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b49b0311-a867-4816-8c60-99ac26a0389d --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 b49b0311-a867-4816-8c60-99ac26a0389d --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} = b49b0311-a867-4816-8c60-99ac26a0389d 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 9562453d-d9e8-4d5d-be39-056563d4f419 --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_04 regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | 159e2d87-1724-4562-8f5d-a8962f5ad22c | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.103; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0ac44d3a-76fb-4f29-8d15-311d248c78af | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.254.155 | ubuntu18.04 | simple_requires-1-1-flv | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 931d125f-1dbc-43da-9718-9e86b6dea117 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 931d125f-1dbc-43da-9718-9e86b6dea117 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 1dcf45ec-4106-4893-8d17-0d1dd764e3be ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1dcf45ec-4106-4893-8d17-0d1dd764e3be 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} = 7e04e571-08e2-443a-859d-b76605206fed ${stdout} Logs the given message with the given level. 7e04e571-08e2-443a-859d-b76605206fed ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7e04e571-08e2-443a-859d-b76605206fed ${ns_id} Logs the given message with the given level. 7e04e571-08e2-443a-859d-b76605206fed ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | cc07ca60-4b22-4ed5-824f-a883f96b8019 | sol003-instance--1-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | 1f0af1a5-b29f-491e-a042-b346701c05d3 | sol003-instance--1-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ac7e3c80-a231-40a0-a548-c0c3f0a1a9a6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.232 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | cc07ca60-4b22-4ed5-824f-a883f96b8019 | sol003-instance--1-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.157 | ubuntu20.04 | simple_requires-1-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+---------+------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+---------+------------------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+---------+------------------------------------------------------------------+-------------+-----------------------------------+ | 5a2cc46b-04f6-4bf0-ac92-de27af81296f | lcmop_01_cancel_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.33 | ubuntu18.04 | | | 1f0af1a5-b29f-491e-a042-b346701c05d3 | sol003-instance--1-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | simple_requires-1-1-flv | | ac7e3c80-a231-40a0-a548-c0c3f0a1a9a6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.232 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | cc07ca60-4b22-4ed5-824f-a883f96b8019 | sol003-instance--1-hackfest_basic_metrics-VM-0 | DELETED | | ubuntu20.04 | simple_requires-1-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+---------+------------------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | BUILDING | INSTANTIATING (d112a95c-8185-472b-9d2f-b467cecfd25e) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | ac7e3c80-a231-40a0-a548-c0c3f0a1a9a6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.232 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | ac7e3c80-a231-40a0-a548-c0c3f0a1a9a6 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.232 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7e04e571-08e2-443a-859d-b76605206fed | 2024-04-16T03:01:33 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 7e04e571-08e2-443a-859d-b76605206fed ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7e04e571-08e2-443a-859d-b76605206fed 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 7e04e571-08e2-443a-859d-b76605206fed | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.185 ${stdout} Logs the given message with the given level. 172.21.248.185 ${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.185 ${ip_addr_1} Logs the given message with the given level. 172.21.248.185 ${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.185 ${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 7e04e571-08e2-443a-859d-b76605206fed | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.59 ${stdout} Logs the given message with the given level. 172.21.248.59 ${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.59 ${ip_addr_2} Logs the given message with the given level. 172.21.248.59 ${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.59 cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.185:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:04:25 UTC 2024 System load: 0.09 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.185 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.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:04:27 UTC 2024 System load: 0.06 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.59 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.185:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:04:28 UTC 2024 System load: 0.16 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.185 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:04: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-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.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:04:30 UTC 2024 System load: 0.06 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.59 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:04: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-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} = cdc8bcc8-2d4c-4455-be4f-40126c3a121a ${rc} ${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 cdc8bcc8-2d4c-4455-be4f-40126c3a121a --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 cdc8bcc8-2d4c-4455-be4f-40126c3a121a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cdc8bcc8-2d4c-4455-be4f-40126c3a121a --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 cdc8bcc8-2d4c-4455-be4f-40126c3a121a --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} = cdc8bcc8-2d4c-4455-be4f-40126c3a121a ${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} = 864c8314-8cdf-4f94-928d-60bf4b53b85d ${rc} ${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 864c8314-8cdf-4f94-928d-60bf4b53b85d --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 864c8314-8cdf-4f94-928d-60bf4b53b85d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 864c8314-8cdf-4f94-928d-60bf4b53b85d --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 864c8314-8cdf-4f94-928d-60bf4b53b85d --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} = 864c8314-8cdf-4f94-928d-60bf4b53b85d Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.185:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:05:12 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.248.185 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:04:29 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/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.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:05:14 UTC 2024 System load: 0.02 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.59 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:04:31 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | f037fa96-bc4e-4e7b-bc2d-22728ff3ac45 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.44; osm-ext=172.21.248.59 | ubuntu18.04 | simple_requires-1-1-flv | | c67c11b7-eee4-4154-86b5-ae0303e95b37 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.170.142; osm-ext=172.21.248.185 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 216d15c9-ee42-4452-a345-db8fa3bee5c5 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 6b728fc1-5320-4e3f-8c0a-c6ba8605f69a | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 7323852d-2009-4f62-b1da-5daacde4c667 | basic_08_disable-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 67a14ef3-eee9-41bb-9274-49d6c2c03f80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.91; basic_08_disable-internal=192.168.45.219 | ubuntu20.04 | simple_requires-1-1-flv | | 216d15c9-ee42-4452-a345-db8fa3bee5c5 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.45.116; osm-ext=172.21.248.230 | ubuntu20.04 | simple_requires-1-1-flv | | 6b728fc1-5320-4e3f-8c0a-c6ba8605f69a | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.184; basic_08_disable-internal=192.168.168.32 | ubuntu20.04 | simple_requires-1-1-flv | | 7323852d-2009-4f62-b1da-5daacde4c667 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.168.100; osm-ext=172.21.248.120 | ubuntu20.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 67a14ef3-eee9-41bb-9274-49d6c2c03f80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.91; basic_08_disable-internal=192.168.45.219 | ubuntu20.04 | simple_requires-1-1-flv | | 216d15c9-ee42-4452-a345-db8fa3bee5c5 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.45.116; osm-ext=172.21.248.230 | ubuntu20.04 | simple_requires-1-1-flv | | 6b728fc1-5320-4e3f-8c0a-c6ba8605f69a | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.184; basic_08_disable-internal=192.168.168.32 | ubuntu20.04 | simple_requires-1-1-flv | | 7323852d-2009-4f62-b1da-5daacde4c667 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.168.100; osm-ext=172.21.248.120 | ubuntu20.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 67a14ef3-eee9-41bb-9274-49d6c2c03f80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.45.219 | ubuntu20.04 | simple_requires-1-1-flv | | 216d15c9-ee42-4452-a345-db8fa3bee5c5 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.45.116; osm-ext=172.21.248.230 | ubuntu20.04 | simple_requires-1-1-flv | | 6b728fc1-5320-4e3f-8c0a-c6ba8605f69a | basic_08_disable-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 7323852d-2009-4f62-b1da-5daacde4c667 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.120 | ubuntu20.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 73979f27-bcb8-4e5f-80b7-11ff22ae86e2 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 73979f27-bcb8-4e5f-80b7-11ff22ae86e2 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 7f72e7a7-3073-491e-a2fd-61d2aab3177d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7f72e7a7-3073-491e-a2fd-61d2aab3177d 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} = 197db0c4-48d9-42ab-a82c-108292b0d11a ${stdout} Logs the given message with the given level. 197db0c4-48d9-42ab-a82c-108292b0d11a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 197db0c4-48d9-42ab-a82c-108292b0d11a ${ns_id} Logs the given message with the given level. 197db0c4-48d9-42ab-a82c-108292b0d11a ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | f9a83077-7041-435b-9271-1e8410a4a431 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 46149d88-2461-475a-8691-57b9ff4dd15b | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.47 | ubuntu20.04 | simple_requires-1-1-flv | | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | f9a83077-7041-435b-9271-1e8410a4a431 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | f9a83077-7041-435b-9271-1e8410a4a431 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | BUILDING | INSTANTIATING (cd94e097-d923-4102-ab4d-ea09023b6aac) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06:59 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 819f6e81-2910-4300-abd2-2731ba119b18 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.206 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 197db0c4-48d9-42ab-a82c-108292b0d11a | 2024-04-16T03:06: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} = 197db0c4-48d9-42ab-a82c-108292b0d11a 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} = 197db0c4-48d9-42ab-a82c-108292b0d11a ${stdout} Logs the given message with the given level. 197db0c4-48d9-42ab-a82c-108292b0d11a ${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} = 197db0c4-48d9-42ab-a82c-108292b0d11a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 197db0c4-48d9-42ab-a82c-108292b0d11a 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 197db0c4-48d9-42ab-a82c-108292b0d11a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.49 ${stdout} Logs the given message with the given level. 172.21.248.49 ${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.49 ${ip_addr_1} Logs the given message with the given level. 172.21.248.49 ${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.49 ${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 197db0c4-48d9-42ab-a82c-108292b0d11a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.101 ${stdout} Logs the given message with the given level. 172.21.248.101 ${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.101 ${ip_addr_2} Logs the given message with the given level. 172.21.248.101 ${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.101 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.49:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:09:51 UTC 2024 System load: 0.14 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.49 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.101:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:09:53 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.248.101 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.49:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:09:54 UTC 2024 System load: 0.21 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.49 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:09:51 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.248.101:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:09:56 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.248.101 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:09: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@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} = a515481d-704d-4186-9731-e3296e733e18 ${rc} ${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 a515481d-704d-4186-9731-e3296e733e18 --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 a515481d-704d-4186-9731-e3296e733e18 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a515481d-704d-4186-9731-e3296e733e18 --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 a515481d-704d-4186-9731-e3296e733e18 --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} = a515481d-704d-4186-9731-e3296e733e18 ${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} = 56cf885c-49e2-425e-8d63-cda803f70904 ${rc} ${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 56cf885c-49e2-425e-8d63-cda803f70904 --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 56cf885c-49e2-425e-8d63-cda803f70904 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56cf885c-49e2-425e-8d63-cda803f70904 --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 56cf885c-49e2-425e-8d63-cda803f70904 --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} = 56cf885c-49e2-425e-8d63-cda803f70904 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.49:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:10:38 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.49 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:09: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@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.248.101:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:10:40 UTC 2024 System load: 0.01 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.101 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:09: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@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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 166466a8-ff2d-4219-9059-357ce98211c0 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.198; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 660c5138-6996-4c97-82eb-3a4e617cb100 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.237.114; osm-ext=172.21.248.49 | ubuntu18.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ad97dfc3-427e-4abd-a74f-77af8dcc38b4 | basic_16-vnf-hackfest_basic_metrics-VM-4 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 0c22590d-9680-4457-be9c-c7b6410f58cf | basic_16-vnf-hackfest_basic_metrics-VM-3 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ad97dfc3-427e-4abd-a74f-77af8dcc38b4 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.251 | ubuntu20.04 | simple_requires-1-1-flv | | 0c22590d-9680-4457-be9c-c7b6410f58cf | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.10 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ad97dfc3-427e-4abd-a74f-77af8dcc38b4 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 60e7ddf5-b7c8-4c10-b48e-69341ee6faf9 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6003cf-62a3-4af3-bbd8-0236037584e8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.45 | ubuntu20.04 | simple_requires-1-1-flv | | 3a1372ec-c610-4bdd-889b-259bb808dc34 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 4f35bab0-3fb4-472e-99af-927819d1d3de ${rc} ${success_return_code} Fails if objects are unequal after 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} = 4f35bab0-3fb4-472e-99af-927819d1d3de 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 e28b75c0-099a-404c-ae83-4054f52e882c ${rc} ${success_return_code} Fails if objects are unequal after 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} = e28b75c0-099a-404c-ae83-4054f52e882c 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} = a6001270-321c-478d-896c-7388b097026e ${stdout} Logs the given message with the given level. a6001270-321c-478d-896c-7388b097026e ${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} = a6001270-321c-478d-896c-7388b097026e 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} = 980a7eb4-2f06-4130-accb-c127013a60d4 ${stdout} Logs the given message with the given level. 980a7eb4-2f06-4130-accb-c127013a60d4 ${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 | 980a7eb4-2f06-4130-accb-c127013a60d4 | 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 | 980a7eb4-2f06-4130-accb-c127013a60d4 | 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 | "980a7eb4-2f06-4130-accb-c127013a60d4" | | 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 | "a6001270-321c-478d-896c-7388b097026e" | | nets | { | | | "net1": "null" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713237147.4691017, | | | "modified": 1713237152.300016, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713237147.4691353, | | | "statusEnteredTime": 1713237147.4691353, | | | "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": "980a7eb4-2f06-4130-accb-c127013a60d4", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "980a7eb4-2f06-4130-accb-c127013a60d4", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "980a7eb4-2f06-4130-accb-c127013a60d4", | | | "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 | 980a7eb4-2f06-4130-accb-c127013a60d4 | 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 | 980a7eb4-2f06-4130-accb-c127013a60d4 | 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} = ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e ${stdout} Logs the given message with the given level. ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e ${ns_id} Logs the given message with the given level. ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13:04 | BUILDING | INSTANTIATING (b7bf75e7-60db-4253-881a-2318d08dcf1e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13:04 | BUILDING | INSTANTIATING (b7bf75e7-60db-4253-881a-2318d08dcf1e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13:04 | BUILDING | INSTANTIATING (b7bf75e7-60db-4253-881a-2318d08dcf1e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13:04 | BUILDING | INSTANTIATING (b7bf75e7-60db-4253-881a-2318d08dcf1e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.139; basic_18-datanet3=192.168.30.16; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13: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 | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.139; basic_18-datanet3=192.168.30.16; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e | 2024-04-16T03:13: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} = ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = ca0ad1bb-4245-4fbd-a8b8-16280d0d9c6e 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} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.139; basic_18-datanet3=192.168.30.16; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.139; basic_18-datanet3=192.168.30.16; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 d0d63ccd-4a9d-4d96-a07e-f74c3c8b4020 ${rc} ${success_return_code} Fails if objects are unequal after 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} = d0d63ccd-4a9d-4d96-a07e-f74c3c8b4020 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 19f00225-186f-4c54-9284-1a053664afff ${rc} ${success_return_code} Fails if objects are unequal after 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} = 19f00225-186f-4c54-9284-1a053664afff 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} = cf86d2bb-9f5d-4969-aad3-a95f719c38be ${stdout} Logs the given message with the given level. cf86d2bb-9f5d-4969-aad3-a95f719c38be ${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 | cf86d2bb-9f5d-4969-aad3-a95f719c38be | 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 | cf86d2bb-9f5d-4969-aad3-a95f719c38be | 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 | "cf86d2bb-9f5d-4969-aad3-a95f719c38be" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713237311.5182369, | | | "modified": 1713237316.9635212, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713237311.5182815, | | | "statusEnteredTime": 1713237311.5182815, | | | "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": "cf86d2bb-9f5d-4969-aad3-a95f719c38be", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "cf86d2bb-9f5d-4969-aad3-a95f719c38be", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "cf86d2bb-9f5d-4969-aad3-a95f719c38be", | | | "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 | cf86d2bb-9f5d-4969-aad3-a95f719c38be | 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 | cf86d2bb-9f5d-4969-aad3-a95f719c38be | 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} = 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${stdout} Logs the given message with the given level. 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${ns_id} Logs the given message with the given level. 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${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 | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | bb68c347-5258-413d-aa49-076d60c4eafc | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.17; basic_18-datanet2=192.168.20.139; basic_18-datanet3=192.168.30.16; osm-ext=172.21.249.109 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9a8eebd0-5712-4639-be5b-97bf8d7c64be | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.23; basic_18-datanet2=192.168.20.243; basic_18-datanet3=192.168.30.213; osm-ext=172.21.249.135 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15:48 | BUILDING | INSTANTIATING (d09db31f-cc01-4003-b7fa-263144a287d7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15:48 | BUILDING | INSTANTIATING (d09db31f-cc01-4003-b7fa-263144a287d7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15:48 | BUILDING | INSTANTIATING (d09db31f-cc01-4003-b7fa-263144a287d7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15:48 | BUILDING | INSTANTIATING (d09db31f-cc01-4003-b7fa-263144a287d7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15:48 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | c10dae59-87ef-4ba8-8796-4030640d047a | basic_19-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 2024-04-16T03:15: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} = 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 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.229 ${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.229:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:17:00 UTC 2024 System load: 1.01 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.229 Processes: 392 IPv4 address for lxdbr0: 10.186.148.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 213 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: Tue Apr 16 00:39:17 2024 from 172.21.249.4 ubuntu@osm-v120-merge-715:~$ ${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 68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 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-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${stdout} Logs the given message with the given level. native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${model_name} ${kdu_name}-${ns_id} Returns the given values which can then be assigned to a variables. ${model_name} = native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${model_name} ${stdout} Fails if objects are unequal after converting them to strings. ${name} = native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 ${model_name} ${name} Makes a variable available everywhere within the scope of the current suite. ${model_name} = native-kdu-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 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.229 ${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.229:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:17:03 UTC 2024 System load: 1.01 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.229 Processes: 395 IPv4 address for lxdbr0: 10.186.148.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 213 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: Tue Apr 16 03:17:01 2024 from 172.21.249.4 ubuntu@osm-v120-merge-715:~$ ${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-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 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} = ad9ae53c-6484-4946-a9f6-d3762a5432c1 ${rc} ${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 ad9ae53c-6484-4946-a9f6-d3762a5432c1 --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 ad9ae53c-6484-4946-a9f6-d3762a5432c1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad9ae53c-6484-4946-a9f6-d3762a5432c1 --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 ad9ae53c-6484-4946-a9f6-d3762a5432c1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad9ae53c-6484-4946-a9f6-d3762a5432c1 --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 ad9ae53c-6484-4946-a9f6-d3762a5432c1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad9ae53c-6484-4946-a9f6-d3762a5432c1 --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 ad9ae53c-6484-4946-a9f6-d3762a5432c1 --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} = ad9ae53c-6484-4946-a9f6-d3762a5432c1 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.229 ${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.229:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:17:56 UTC 2024 System load: 0.73 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.229 Processes: 400 IPv4 address for lxdbr0: 10.186.148.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 213 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: Tue Apr 16 03:17:03 2024 from 172.21.249.4 ubuntu@osm-v120-merge-715:~$ ${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-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 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} = 02a31b7c-9d51-4b3a-a3d6-b3b400141505 ${rc} ${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 02a31b7c-9d51-4b3a-a3d6-b3b400141505 --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 02a31b7c-9d51-4b3a-a3d6-b3b400141505 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02a31b7c-9d51-4b3a-a3d6-b3b400141505 --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 02a31b7c-9d51-4b3a-a3d6-b3b400141505 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02a31b7c-9d51-4b3a-a3d6-b3b400141505 --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 02a31b7c-9d51-4b3a-a3d6-b3b400141505 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 02a31b7c-9d51-4b3a-a3d6-b3b400141505 --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 02a31b7c-9d51-4b3a-a3d6-b3b400141505 --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} = 02a31b7c-9d51-4b3a-a3d6-b3b400141505 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.229 ${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.229:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:18:49 UTC 2024 System load: 0.48 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.229 Processes: 411 IPv4 address for lxdbr0: 10.186.148.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 213 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: Tue Apr 16 03:17:57 2024 from 172.21.249.4 ubuntu@osm-v120-merge-715:~$ ${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-68621daa-8c54-4e8f-ae7b-b7d5f077f6a0 | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 3192f1d4-5170-429c-8ef4-323083f24a59 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a4aa427e-54ad-4b08-8612-53f26d8b291f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | several_volumes-VM-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a4aa427e-54ad-4b08-8612-53f26d8b291f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | several_volumes-VM-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a4aa427e-54ad-4b08-8612-53f26d8b291f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | several_volumes-VM-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a4aa427e-54ad-4b08-8612-53f26d8b291f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | several_volumes-VM-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a4aa427e-54ad-4b08-8612-53f26d8b291f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | several_volumes-VM-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 40a91874-b05b-4162-b122-854c9bfc26be | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | f196d73e-1c54-4f44-b21c-be5d0279f002 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 523a7c49-13f2-4aa3-80f2-029cdc8babc5 | basic_08_disable-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 85cd528d-98f0-4c3d-b6ed-5fbd0f655c30 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 85cd528d-98f0-4c3d-b6ed-5fbd0f655c30 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 fc866677-95ad-4ca9-a227-5bd3dde19097 ${rc} ${success_return_code} Fails if objects are unequal after 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} = fc866677-95ad-4ca9-a227-5bd3dde19097 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} = 6a48c50f-5887-4440-8495-aa68570f4741 ${stdout} Logs the given message with the given level. 6a48c50f-5887-4440-8495-aa68570f4741 ${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 | 6a48c50f-5887-4440-8495-aa68570f4741 | 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 | 6a48c50f-5887-4440-8495-aa68570f4741 | 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 | "6a48c50f-5887-4440-8495-aa68570f4741" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713237671.3796048, | | | "modified": 1713237676.3209667, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713237671.3796368, | | | "statusEnteredTime": 1713237671.3796368, | | | "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": "6a48c50f-5887-4440-8495-aa68570f4741", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "6a48c50f-5887-4440-8495-aa68570f4741", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "6a48c50f-5887-4440-8495-aa68570f4741", | | | "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 | 6a48c50f-5887-4440-8495-aa68570f4741 | 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 | 6a48c50f-5887-4440-8495-aa68570f4741 | 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} = 07a28abd-ccac-4bc2-bfe9-49298e4d642e ${stdout} Logs the given message with the given level. 07a28abd-ccac-4bc2-bfe9-49298e4d642e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 07a28abd-ccac-4bc2-bfe9-49298e4d642e ${ns_id} Logs the given message with the given level. 07a28abd-ccac-4bc2-bfe9-49298e4d642e ${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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 200c4429-1468-4ce2-8e81-67d352eb7430 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu20.04 | simple_requires-1-1-flv | | 9ad9fb20-33f5-4b73-ab7c-5f8969687f11 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | 200c4429-1468-4ce2-8e81-67d352eb7430 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu20.04 | simple_requires-1-1-flv | | 9ad9fb20-33f5-4b73-ab7c-5f8969687f11 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.75 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | a1866182-3a0b-463d-b476-30073545d767 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | simple_requires-1-1-flv | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | 200c4429-1468-4ce2-8e81-67d352eb7430 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21:48 | BUILDING | INSTANTIATING (541cbbfd-27c3-4237-95f3-46fedc8e654b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2d4363cb-6ec8-4753-80cd-456afae39dd8 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.138 | ubuntu20.04 | simple_requires-1-1-flv | | a1866182-3a0b-463d-b476-30073545d767 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | simple_requires-1-1-flv | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21: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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2d4363cb-6ec8-4753-80cd-456afae39dd8 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.138 | ubuntu20.04 | simple_requires-1-1-flv | | a1866182-3a0b-463d-b476-30073545d767 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | simple_requires-1-1-flv | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 07a28abd-ccac-4bc2-bfe9-49298e4d642e | 2024-04-16T03:21: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} = 07a28abd-ccac-4bc2-bfe9-49298e4d642e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 07a28abd-ccac-4bc2-bfe9-49298e4d642e 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} = 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 ${rc} ${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 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 --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 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 --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 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 --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} = 9fe1cb1e-e43d-40d2-a7ce-a89cdfdbcda8 Performs one Day 2 operation per VNF that creates a new file. cluster_k8s daily k8s_09 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | a1866182-3a0b-463d-b476-30073545d767 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu20.04 | simple_requires-1-1-flv | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | e1178c5c-8e2c-45c5-b0d6-ff5e8ea81e05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | simple_requires-1-1-flv | | fa9c4a62-1bca-4da3-a66a-aa192f3c942d | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.134 | ubuntu20.04 | simple_requires-1-1-flv | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2d9092b7-4810-4704-8e9b-ec8fc745d9ab | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.199 | ubuntu20.04 | simple_requires-1-1-flv | | 39d427f3-ec63-410d-943d-f513d37cb5ea | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 6ea98091-0309-4a59-a993-74d2dce850fe | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.251 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 847eb473-b8b1-472b-bf80-f500e3aa4b7b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 847eb473-b8b1-472b-bf80-f500e3aa4b7b 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 92b48c6a-5df2-49f8-8554-2f5e69ad39c0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 92b48c6a-5df2-49f8-8554-2f5e69ad39c0 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} = 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 ${stdout} Logs the given message with the given level. 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 ${ns_id} Logs the given message with the given level. 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 2d9092b7-4810-4704-8e9b-ec8fc745d9ab | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.199 | ubuntu20.04 | simple_requires-1-1-flv | | 39d427f3-ec63-410d-943d-f513d37cb5ea | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 6ea98091-0309-4a59-a993-74d2dce850fe | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.251 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 1b9f0444-4624-4a51-96c9-7f2a833ffe23 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.249.183 | ubuntu20.04 | simple_requires-1-1-flv | | d0718fa3-9d29-4d57-bb99-e3d870910e5e | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.248.14 | ubuntu20.04 | simple_requires-1-1-flv | | 30f4f642-0cb9-4bb8-90be-116d0be466f4 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.229; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | 6ca269fd-51f6-4d69-a9cf-6cc14c07ab38 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.169; osm-ext=172.21.249.56 | ubuntu18.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 2d9092b7-4810-4704-8e9b-ec8fc745d9ab | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.199 | ubuntu20.04 | simple_requires-1-1-flv | | 39d427f3-ec63-410d-943d-f513d37cb5ea | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 6ea98091-0309-4a59-a993-74d2dce850fe | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.251 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 30f4f642-0cb9-4bb8-90be-116d0be466f4 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.229; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | 6ca269fd-51f6-4d69-a9cf-6cc14c07ab38 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.169; osm-ext=172.21.249.56 | ubuntu18.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 2d9092b7-4810-4704-8e9b-ec8fc745d9ab | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.199 | ubuntu20.04 | simple_requires-1-1-flv | | 39d427f3-ec63-410d-943d-f513d37cb5ea | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 6ea98091-0309-4a59-a993-74d2dce850fe | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.251 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | BUILDING | INSTANTIATING (ba2ba7df-0d30-47b6-a829-fd8edd368b7b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 30f4f642-0cb9-4bb8-90be-116d0be466f4 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.229; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | 6ca269fd-51f6-4d69-a9cf-6cc14c07ab38 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.169; osm-ext=172.21.249.56 | ubuntu18.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 30f4f642-0cb9-4bb8-90be-116d0be466f4 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.229; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | 6ca269fd-51f6-4d69-a9cf-6cc14c07ab38 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.169; osm-ext=172.21.249.56 | ubuntu18.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | 2024-04-16T03:25:58 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 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 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.56 ${stdout} Logs the given message with the given level. 172.21.249.56 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.249.56 ${ip_addr_1} Logs the given message with the given level. 172.21.249.56 ${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.56 ${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 8c77dc08-83ce-4ff9-9cab-5e9e5a5298b7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.156 ${stdout} Logs the given message with the given level. 172.21.248.156 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.156 ${ip_addr_2} Logs the given message with the given level. 172.21.248.156 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.248.156 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.249.56:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:28:15 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.56 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.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:28:17 UTC 2024 System load: 0.17 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.156 Swap usage: 0% 0 updates can be applied immediately. 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.249.56:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:28:19 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.56 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:28:16 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.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:28:21 UTC 2024 System load: 0.15 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.156 Swap usage: 0% 0 updates can be applied immediately. Last login: Tue Apr 16 03:28:18 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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} = b8676d97-4ccc-4509-997c-e5c08ba365db ${rc} ${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 b8676d97-4ccc-4509-997c-e5c08ba365db --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 b8676d97-4ccc-4509-997c-e5c08ba365db ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b8676d97-4ccc-4509-997c-e5c08ba365db --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 b8676d97-4ccc-4509-997c-e5c08ba365db --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} = b8676d97-4ccc-4509-997c-e5c08ba365db ${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} = 5af03ed7-9020-4f67-b21b-24b8731bc0e0 ${rc} ${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 5af03ed7-9020-4f67-b21b-24b8731bc0e0 --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 5af03ed7-9020-4f67-b21b-24b8731bc0e0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5af03ed7-9020-4f67-b21b-24b8731bc0e0 --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 5af03ed7-9020-4f67-b21b-24b8731bc0e0 --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} = 5af03ed7-9020-4f67-b21b-24b8731bc0e0 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.249.56:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:29:03 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.56 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:28: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@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.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:29:04 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.248.156 Swap usage: 0% 0 updates can be applied immediately. Last login: Tue Apr 16 03:28: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@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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 30f4f642-0cb9-4bb8-90be-116d0be466f4 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.229; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | 6ca269fd-51f6-4d69-a9cf-6cc14c07ab38 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.36.169; osm-ext=172.21.249.56 | ubuntu18.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 4dfbee31-4e9a-498a-adcb-947fc8fe9bdf | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.172; basic_18-datanet2=192.168.20.145; basic_18-datanet3=192.168.30.247; osm-ext=172.21.249.248 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cac3203a-4092-48dc-8e43-2c5566ac627c | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.60; basic_18-datanet2=192.168.20.15; basic_18-datanet3=192.168.30.59; osm-ext=172.21.249.232 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 b230fd1c-b3a7-44e1-bc99-5c31cda176d5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b230fd1c-b3a7-44e1-bc99-5c31cda176d5 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 eb3b1f2b-e3c5-4c6f-b6b0-de6537f237f8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = eb3b1f2b-e3c5-4c6f-b6b0-de6537f237f8 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} = 53029971-dc87-4f1e-9e4e-91288de44498 ${stdout} Logs the given message with the given level. 53029971-dc87-4f1e-9e4e-91288de44498 ${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 | 53029971-dc87-4f1e-9e4e-91288de44498 | 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 | 53029971-dc87-4f1e-9e4e-91288de44498 | 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 | "53029971-dc87-4f1e-9e4e-91288de44498" | | 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 | "64530b97-a484-4e17-b427-8a51fbdc1c2e" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713238267.2790155, | | | "modified": 1713238272.7241895, | | | "projects_read": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "projects_write": [ | | | "846d7488-43b0-414f-9a1a-e701d83b87cd" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713238267.2790463, | | | "statusEnteredTime": 1713238267.2790463, | | | "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": "53029971-dc87-4f1e-9e4e-91288de44498", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "53029971-dc87-4f1e-9e4e-91288de44498", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "53029971-dc87-4f1e-9e4e-91288de44498", | | | "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 | 53029971-dc87-4f1e-9e4e-91288de44498 | 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 | 53029971-dc87-4f1e-9e4e-91288de44498 | 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} = 341233eb-e354-4fa5-b628-3651fa1aa3ab ${stdout} Logs the given message with the given level. 341233eb-e354-4fa5-b628-3651fa1aa3ab ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 341233eb-e354-4fa5-b628-3651fa1aa3ab ${ns_id} Logs the given message with the given level. 341233eb-e354-4fa5-b628-3651fa1aa3ab ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | eaa8e5d5-b2f6-4942-bf7e-e1b33156f9ba | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.223 | ubuntu20.04 | simple_requires-1-1-flv | | 3cae236b-4205-4333-a16d-81b8b48e891e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.9; osm-ext=172.21.248.62 | ubuntu20.04 | simple_requires-1-1-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | eaa8e5d5-b2f6-4942-bf7e-e1b33156f9ba | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.223 | ubuntu20.04 | simple_requires-1-1-flv | | 3cae236b-4205-4333-a16d-81b8b48e891e | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.9; osm-ext=172.21.248.62 | ubuntu20.04 | simple_requires-1-1-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | BUILDING | INSTANTIATING (5a556453-767e-4757-9a57-5b9f8288f495) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------+------------------------------+--------------------------+ | eaa8e5d5-b2f6-4942-bf7e-e1b33156f9ba | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.223 | ubuntu20.04 | simple_requires-1-1-flv | | 3cae236b-4205-4333-a16d-81b8b48e891e | basic_19-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.62 | ubuntu20.04 | simple_requires-1-1-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting 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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | eaa8e5d5-b2f6-4942-bf7e-e1b33156f9ba | basic_19-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 3cae236b-4205-4333-a16d-81b8b48e891e | basic_19-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.62 | ubuntu20.04 | simple_requires-1-1-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 341233eb-e354-4fa5-b628-3651fa1aa3ab | 2024-04-16T03:31:44 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show 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} = 341233eb-e354-4fa5-b628-3651fa1aa3ab 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} = 341233eb-e354-4fa5-b628-3651fa1aa3ab ${stdout} Logs the given message with the given level. 341233eb-e354-4fa5-b628-3651fa1aa3ab ${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} = 341233eb-e354-4fa5-b628-3651fa1aa3ab ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 341233eb-e354-4fa5-b628-3651fa1aa3ab 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 341233eb-e354-4fa5-b628-3651fa1aa3ab | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 44cc1283-489f-41d3-b9c7-112581fe75c4 ${rc} ${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} = [ 44cc1283-489f-41d3-b9c7-112581fe75c4 ] @{vnfr_list} = [ 44cc1283-489f-41d3-b9c7-112581fe75c4 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 44cc1283-489f-41d3-b9c7-112581fe75c4 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 44cc1283-489f-41d3-b9c7-112581fe75c4 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} = ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 ${rc} ${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 ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 --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 ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 --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 ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 --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} = ff3cd342-2ff3-48c7-bd64-8d31c2a700d4 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} = b295fafa-e7e8-44e0-ac07-6cc9bf88d247 ${rc} ${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 b295fafa-e7e8-44e0-ac07-6cc9bf88d247 --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 b295fafa-e7e8-44e0-ac07-6cc9bf88d247 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b295fafa-e7e8-44e0-ac07-6cc9bf88d247 --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 b295fafa-e7e8-44e0-ac07-6cc9bf88d247 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b295fafa-e7e8-44e0-ac07-6cc9bf88d247 --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 b295fafa-e7e8-44e0-ac07-6cc9bf88d247 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b295fafa-e7e8-44e0-ac07-6cc9bf88d247 --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 b295fafa-e7e8-44e0-ac07-6cc9bf88d247 --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} = b295fafa-e7e8-44e0-ac07-6cc9bf88d247 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 44cc1283-489f-41d3-b9c7-112581fe75c4 --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} = 5a1c812e-8665-4954-919a-b45c7fe1960f ${rc} ${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 5a1c812e-8665-4954-919a-b45c7fe1960f --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 5a1c812e-8665-4954-919a-b45c7fe1960f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a1c812e-8665-4954-919a-b45c7fe1960f --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 5a1c812e-8665-4954-919a-b45c7fe1960f --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} = 5a1c812e-8665-4954-919a-b45c7fe1960f 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 44cc1283-489f-41d3-b9c7-112581fe75c4 --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 | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 9761ec15-c2d7-4372-afc4-08d75f059adf | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.230 | ubuntu20.04 | several_volumes-VM-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ | 4fe80940-c1f8-46d5-952a-6d5850a0277b | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 9761ec15-c2d7-4372-afc4-08d75f059adf | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.230 | ubuntu20.04 | several_volumes-VM-flv | | b3daebcf-5f1c-4ba5-b193-5a869b718c01 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.125 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+------------------------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 666b3297-5f50-458e-af78-4312d17c3ee2 ${stdout} Logs the given message with the given level. 666b3297-5f50-458e-af78-4312d17c3ee2 ${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} = 7232ccb8-dcd9-48bb-8ad3-e062c7f1addb ${stdout} Logs the given message with the given level. 7232ccb8-dcd9-48bb-8ad3-e062c7f1addb ${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} = df990c9e-5d39-45da-b0f1-71ad468390bc ${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 c7a970a2-8a7b-4471-96bb-2584b36014f2 ${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 (666b3297-5f50-458e-af78-4312d17c3ee2)" } ${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 fce30d61-e711-436e-a23c-9e9342a837d0 ${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 05137b94-c715-4816-9ba3-e66042e0d48a ${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 436b52bf-61bc-43ec-a402-ae683d14de75 ${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 461b0b44-8c71-4c63-905c-6b42c1095f51 ${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 (666b3297-5f50-458e-af78-4312d17c3ee2)" } ${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 adce96da-2f3b-4029-8855-a12e8bb60884 ${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 (7232ccb8-dcd9-48bb-8ad3-e062c7f1addb)" } ${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' (7232ccb8-dcd9-48bb-8ad3-e062c7f1addb) 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' (7232ccb8-dcd9-48bb-8ad3-e062c7f1addb) 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 f2598a24-b904-41f7-98b3-31540b48a0c2 ${rc} ${success_return_code} Fails if objects are unequal after 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} = f2598a24-b904-41f7-98b3-31540b48a0c2 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 ffef50b4-e95f-4c10-8b6f-a7e674ae585f ${rc} ${success_return_code} Fails if objects are unequal after 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} = ffef50b4-e95f-4c10-8b6f-a7e674ae585f 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} = 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 ${stdout} Logs the given message with the given level. 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 ${ns_id} Logs the given message with the given level. 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 ${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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 66ddfdf6-66c6-4457-9f09-4557ae5e2130 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ed60a4b6-18c7-4f7c-b497-8ec4148555b1 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.9 | ubuntu20.04 | simple_requires-1-1-flv | | 9d73759f-df7e-4d66-a5e5-16dfdde3564b | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.27 | ubuntu20.04 | simple_requires-1-1-flv | | ab631c75-dc96-443d-82f2-774cfda74c1a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.141 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 | 2024-04-16T03:37:13 | BUILDING | INSTANTIATING (532356ec-1d34-453f-a059-b7206b12a316) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 | 2024-04-16T03:37:13 | BUILDING | INSTANTIATING (532356ec-1d34-453f-a059-b7206b12a316) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 45bc115f-587c-47d2-997a-6e32addd21c2 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.212 | ubuntu20.04 | simple_requires-1-1-flv | | 66ddfdf6-66c6-4457-9f09-4557ae5e2130 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ed60a4b6-18c7-4f7c-b497-8ec4148555b1 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.9 | ubuntu20.04 | simple_requires-1-1-flv | | 9d73759f-df7e-4d66-a5e5-16dfdde3564b | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.27 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 | 2024-04-16T03:37:13 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 45bc115f-587c-47d2-997a-6e32addd21c2 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.212 | ubuntu20.04 | simple_requires-1-1-flv | | 66ddfdf6-66c6-4457-9f09-4557ae5e2130 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | ed60a4b6-18c7-4f7c-b497-8ec4148555b1 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.9 | ubuntu20.04 | simple_requires-1-1-flv | | 9d73759f-df7e-4d66-a5e5-16dfdde3564b | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.27 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 | 2024-04-16T03:37: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} = 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 60210ae4-4d54-41ec-a67c-aac6cab4b8b9 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:37:52 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:38:52 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:39:52 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:40:53 GMT', 'Content-Length': '311'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"60210ae4-4d54-41ec-a67c-aac6cab4b8b9","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713238853.04,"0.41666666666666663"]}]}} ${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': '60210ae4-4d54-41ec-a67c-aac6ca... ${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': '60210ae4-4d54-41ec-a67c-aac6cab4b8b9', '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.41666666666666663 ${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.229: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.229: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.229:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:40:53 GMT', 'Content-Length': '322'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_average_memory_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"60210ae4-4d54-41ec-a67c-aac6cab4b8b9","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713238853.059,"269.72265625"]}]}} ${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': '60210ae4-4d54-41ec-... ${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': '60210ae4-4d54-41ec-a67c-aac6cab4b8b9', '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} = 269.72265625 ${metric_2_value} <= 0 Fail msg=The metric '${metric_2_name}' value is '${metric_2_value}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_01 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------------------------+-------------+----------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ | 0e16ae3d-2555-4817-aa07-cde3cdd2c837 | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7cec753f-68e4-4cc8-a2a4-2805c2127275 | slicebasic.slice-middle-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | ac17abcc-4586-4fec-9db1-8e91652dae22 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.109; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.110 | ubuntu18.04 | simple_requires-1-1-flv | | a25f1cb1-3bea-42d3-a2b5-a0675eeb6dfb | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.59 | ubuntu18.04 | mgmtVM-simple-1-flv-63 | | 45bc115f-587c-47d2-997a-6e32addd21c2 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.212 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 18c41dfe-e84f-4efd-b30b-451cf9095b0c | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0e16ae3d-2555-4817-aa07-cde3cdd2c837 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.44.239 | ubuntu18.04 | simple_requires-1-1-flv | | 7cec753f-68e4-4cc8-a2a4-2805c2127275 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.18; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.55, 192.168.44.157 | ubuntu18.04 | simple_requires-1-1-flv | | ac17abcc-4586-4fec-9db1-8e91652dae22 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.109; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.110 | ubuntu18.04 | simple_requires-1-1-flv | | a25f1cb1-3bea-42d3-a2b5-a0675eeb6dfb | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.59 | ubuntu18.04 | mgmtVM-simple-1-flv-63 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 60e92e5e-e36a-4bfd-a16e-d93790fb161d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 60e92e5e-e36a-4bfd-a16e-d93790fb161d 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 701db1af-8af9-4278-acab-967de7615a4a ${rc} ${success_return_code} Fails if objects are unequal after 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} = 701db1af-8af9-4278-acab-967de7615a4a 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} = f3128f5b-3da8-46ed-9d83-e293a187d63f ${stdout} Logs the given message with the given level. f3128f5b-3da8-46ed-9d83-e293a187d63f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f3128f5b-3da8-46ed-9d83-e293a187d63f ${ns_id} Logs the given message with the given level. f3128f5b-3da8-46ed-9d83-e293a187d63f ${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 | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 13930d93-d90c-4b5c-95c8-f8b0e4beed1c | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 18c41dfe-e84f-4efd-b30b-451cf9095b0c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20d; basic_30-datanet2=192.168.20.217; basic_30-datanet3=192.168.30.39; osm-ext=172.21.249.13 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0e16ae3d-2555-4817-aa07-cde3cdd2c837 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.44.239 | ubuntu18.04 | simple_requires-1-1-flv | | 7cec753f-68e4-4cc8-a2a4-2805c2127275 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.18; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.55, 192.168.44.157 | ubuntu18.04 | simple_requires-1-1-flv | | ac17abcc-4586-4fec-9db1-8e91652dae22 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.109; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.110 | ubuntu18.04 | simple_requires-1-1-flv | | a25f1cb1-3bea-42d3-a2b5-a0675eeb6dfb | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.59 | ubuntu18.04 | mgmtVM-simple-1-flv-63 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | f3128f5b-3da8-46ed-9d83-e293a187d63f | 2024-04-16T03:41:28 | BUILDING | INSTANTIATING (3646c4df-4fec-4efb-b2d9-b6de18d31884) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | f3128f5b-3da8-46ed-9d83-e293a187d63f | 2024-04-16T03:41:28 | BUILDING | INSTANTIATING (3646c4df-4fec-4efb-b2d9-b6de18d31884) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 05e16ce2-6b5a-4db2-b2e9-d49ed78417fd | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 13930d93-d90c-4b5c-95c8-f8b0e4beed1c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::c8; basic_30-datanet2=192.168.20.210; basic_30-datanet3=192.168.30.69; osm-ext=172.21.248.122 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 18c41dfe-e84f-4efd-b30b-451cf9095b0c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20d; basic_30-datanet2=192.168.20.217; basic_30-datanet3=192.168.30.39; osm-ext=172.21.249.13 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0e16ae3d-2555-4817-aa07-cde3cdd2c837 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.44.239 | ubuntu18.04 | simple_requires-1-1-flv | | 7cec753f-68e4-4cc8-a2a4-2805c2127275 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.18; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.55, 192.168.44.157 | ubuntu18.04 | simple_requires-1-1-flv | | ac17abcc-4586-4fec-9db1-8e91652dae22 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.109; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.110 | ubuntu18.04 | simple_requires-1-1-flv | | a25f1cb1-3bea-42d3-a2b5-a0675eeb6dfb | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.59 | ubuntu18.04 | mgmtVM-simple-1-flv-63 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | f3128f5b-3da8-46ed-9d83-e293a187d63f | 2024-04-16T03:41:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 05e16ce2-6b5a-4db2-b2e9-d49ed78417fd | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 13930d93-d90c-4b5c-95c8-f8b0e4beed1c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::c8; basic_30-datanet2=192.168.20.210; basic_30-datanet3=192.168.30.69; osm-ext=172.21.248.122 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 18c41dfe-e84f-4efd-b30b-451cf9095b0c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::20d; basic_30-datanet2=192.168.20.217; basic_30-datanet3=192.168.30.39; osm-ext=172.21.249.13 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0e16ae3d-2555-4817-aa07-cde3cdd2c837 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.44.239 | ubuntu18.04 | simple_requires-1-1-flv | | 7cec753f-68e4-4cc8-a2a4-2805c2127275 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.18; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.55, 192.168.44.157 | ubuntu18.04 | simple_requires-1-1-flv | | ac17abcc-4586-4fec-9db1-8e91652dae22 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.109; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.110 | ubuntu18.04 | simple_requires-1-1-flv | | a25f1cb1-3bea-42d3-a2b5-a0675eeb6dfb | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.59 | ubuntu18.04 | mgmtVM-simple-1-flv-63 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | f3128f5b-3da8-46ed-9d83-e293a187d63f | 2024-04-16T03:41:28 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f3128f5b-3da8-46ed-9d83-e293a187d63f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f3128f5b-3da8-46ed-9d83-e293a187d63f 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 f3128f5b-3da8-46ed-9d83-e293a187d63f | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 363c0750-d3f9-4932-856f-b2f6ce43afb5 ${rc} ${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} = [ 363c0750-d3f9-4932-856f-b2f6ce43afb5 ] @{vnfr_list} = [ 363c0750-d3f9-4932-856f-b2f6ce43afb5 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 363c0750-d3f9-4932-856f-b2f6ce43afb5 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 363c0750-d3f9-4932-856f-b2f6ce43afb5 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 f3128f5b-3da8-46ed-9d83-e293a187d63f | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.170 ${stdout} Logs the given message with the given level. 172.21.248.170 ${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.170 ${ip_addr} Logs the given message with the given level. 172.21.248.170 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.170 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:42:10 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:43:10 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:44:10 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:45:10 GMT', 'Content-Length': '293'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"f3128f5b-3da8-46ed-9d83-e293a187d63f","ns_name":"sa_02","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713239110.383,"0.3"]}]}} ${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': 'f3128f5b-3da8-46ed-9d83-e293a1... ${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': 'f3128f5b-3da8-46ed-9d83-e293a187d63f', 'ns_name': 'sa_02', 'project_id': '846d7488-43b0-414f-9a... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.3 ${metric_value} <= 0 Fail msg=The metric '${metric_name}' value is '${metric_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_value} >= ${metric_threshold} Fail msg=The metric '${metric_name}' value is higher than '${metric_threshold}' before scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${vnf_ip_addr} ${username} ${password} ${privatekey} for i in {1..9}; do yes &> /dev/null & done ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.170:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:45:10 UTC 2024 System load: 0.05 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.170 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:45:12 GMT', 'Content-Length': '293'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"f3128f5b-3da8-46ed-9d83-e293a187d63f","ns_name":"sa_02","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713239112.805,"0.3"]}]}} ${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': 'f3128f5b-3da8-46ed-9d83-e293a1... ${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': 'f3128f5b-3da8-46ed-9d83-e293a187d63f', 'ns_name': 'sa_02', 'project_id': '846d7488-43b0-414f-9a... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.3 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '0.3' 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:46:12 GMT', 'Content-Length': '293'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"f3128f5b-3da8-46ed-9d83-e293a187d63f","ns_name":"sa_02","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713239172.844,"0.3"]}]}} ${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': 'f3128f5b-3da8-46ed-9d83-e293a1... ${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': 'f3128f5b-3da8-46ed-9d83-e293a187d63f', 'ns_name': 'sa_02', 'project_id': '846d7488-43b0-414f-9a... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.3 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '0.3' 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:47:12 GMT', 'Content-Length': '293'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"f3128f5b-3da8-46ed-9d83-e293a187d63f","ns_name":"sa_02","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1713239232.87,"64.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_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': 'f3128f5b-3da8-46ed-9d83-e293a1... ${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': 'f3128f5b-3da8-46ed-9d83-e293a187d63f', 'ns_name': 'sa_02', 'project_id': '846d7488-43b0-414f-9a... ${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} = 64.1 ${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 363c0750-d3f9-4932-856f-b2f6ce43afb5 --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 | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-----------------------------+ | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0b0a5211-6916-4601-8cdb-53c023e2bf91 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.243.126; osm-ext=172.21.249.128 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | cadbf716-750a-4911-a618-a4e43bccd7a4 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.89 | ubuntu20.04 | simple_requires-1-1-flv | | bcc44b75-f954-452d-a667-fe7a416f0b4b | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.61; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.34 | ubuntu18.04 | simple_requires-1-1-flv | | e8ef5898-a30a-4a23-9f11-40c1fee717c5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.113; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.238 | ubuntu18.04 | simple_requires-1-1-flv | | ab74d9c1-036b-461b-9322-5f91790dc811 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.158; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.95 | ubuntu18.04 | simple_requires-1-1-flv | | ca480007-272e-4f6b-a6b5-f087239b1d43 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.67; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.247, 192.168.194.133 | ubuntu18.04 | simple_requires-1-1-flv | | 05e16ce2-6b5a-4db2-b2e9-d49ed78417fd | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0b0a5211-6916-4601-8cdb-53c023e2bf91 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.243.126; osm-ext=172.21.249.128 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | bcc44b75-f954-452d-a667-fe7a416f0b4b | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.61; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.34 | ubuntu18.04 | simple_requires-1-1-flv | | e8ef5898-a30a-4a23-9f11-40c1fee717c5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.113; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.238 | ubuntu18.04 | simple_requires-1-1-flv | | ab74d9c1-036b-461b-9322-5f91790dc811 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.158; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.95 | ubuntu18.04 | simple_requires-1-1-flv | | ca480007-272e-4f6b-a6b5-f087239b1d43 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.67; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.247, 192.168.194.133 | ubuntu18.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 385de160-7d49-4cbc-a29f-e8aa92ced723 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 385de160-7d49-4cbc-a29f-e8aa92ced723 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 13fb810d-4b53-48ae-93b4-c328e014cc92 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 13fb810d-4b53-48ae-93b4-c328e014cc92 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} = 3a03d483-ec86-499c-949d-fceacb155a10 ${stdout} Logs the given message with the given level. 3a03d483-ec86-499c-949d-fceacb155a10 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3a03d483-ec86-499c-949d-fceacb155a10 ${ns_id} Logs the given message with the given level. 3a03d483-ec86-499c-949d-fceacb155a10 ${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 | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0b0a5211-6916-4601-8cdb-53c023e2bf91 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.243.126; osm-ext=172.21.249.128 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | bcc44b75-f954-452d-a667-fe7a416f0b4b | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.61; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.34 | ubuntu18.04 | simple_requires-1-1-flv | | e8ef5898-a30a-4a23-9f11-40c1fee717c5 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.113; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.238 | ubuntu18.04 | simple_requires-1-1-flv | | ab74d9c1-036b-461b-9322-5f91790dc811 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.158; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.95 | ubuntu18.04 | simple_requires-1-1-flv | | ca480007-272e-4f6b-a6b5-f087239b1d43 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.67; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.247, 192.168.194.133 | ubuntu18.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 3a03d483-ec86-499c-949d-fceacb155a10 | 2024-04-16T03:49:47 | BUILDING | INSTANTIATING (9e8d623f-35fd-4991-9be1-f173075da98b) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3a03d483-ec86-499c-949d-fceacb155a10 | 2024-04-16T03:49:47 | BUILDING | INSTANTIATING (9e8d623f-35fd-4991-9be1-f173075da98b) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0b0a5211-6916-4601-8cdb-53c023e2bf91 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.243.126; osm-ext=172.21.249.128 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | bcc44b75-f954-452d-a667-fe7a416f0b4b | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.61; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.34 | ubuntu18.04 | simple_requires-1-1-flv | | ca480007-272e-4f6b-a6b5-f087239b1d43 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.67; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.247, 192.168.194.133 | ubuntu18.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 3a03d483-ec86-499c-949d-fceacb155a10 | 2024-04-16T03:49:47 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 0b0a5211-6916-4601-8cdb-53c023e2bf91 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.243.126; osm-ext=172.21.249.128 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | bcc44b75-f954-452d-a667-fe7a416f0b4b | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.61; slicebasic.slice-nsd_vnfd_vld_dat=192.168.194.34 | ubuntu18.04 | simple_requires-1-1-flv | | ca480007-272e-4f6b-a6b5-f087239b1d43 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.67; slicebasic.slice-nsd_vnfd_vld_dat=192.168.149.247, 192.168.194.133 | ubuntu18.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 3a03d483-ec86-499c-949d-fceacb155a10 | 2024-04-16T03:49:47 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 3a03d483-ec86-499c-949d-fceacb155a10 ${ws_ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ws_ns_id} = 3a03d483-ec86-499c-949d-fceacb155a10 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 3a03d483-ec86-499c-949d-fceacb155a10 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.179 ${stdout} Logs the given message with the given level. 172.21.249.179 ${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.179 ${ip_addr} Logs the given message with the given level. 172.21.249.179 ${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.179 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.179:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:51:08 UTC 2024 System load: 0.97 Processes: 103 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.179 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.179: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 6212e031-016e-4776-85e2-d776df0164b6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6212e031-016e-4776-85e2-d776df0164b6 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 0ef500cc-3f91-4b48-836f-3e4b35818860 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0ef500cc-3f91-4b48-836f-3e4b35818860 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} = b7aac505-877f-4f47-b719-15b59cc4d277 ${stdout} Logs the given message with the given level. b7aac505-877f-4f47-b719-15b59cc4d277 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b7aac505-877f-4f47-b719-15b59cc4d277 ${ns_id} Logs the given message with the given level. b7aac505-877f-4f47-b719-15b59cc4d277 ${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 | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 454ac54c-595a-4cfc-9658-4d373fee6419 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.45 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | b7aac505-877f-4f47-b719-15b59cc4d277 | 2024-04-16T03:51:15 | BUILDING | INSTANTIATING (de9312b2-808b-47c4-bea8-dcf47bf6a1ca) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b7aac505-877f-4f47-b719-15b59cc4d277 | 2024-04-16T03:51:15 | BUILDING | INSTANTIATING (de9312b2-808b-47c4-bea8-dcf47bf6a1ca) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | d0e5a4a5-a041-4772-980b-b12ff25a6560 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.61 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | b7aac505-877f-4f47-b719-15b59cc4d277 | 2024-04-16T03:51:15 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | d0e5a4a5-a041-4772-980b-b12ff25a6560 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.61 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | ef2e9675-15dc-4e22-bdf3-df59285665f9 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::306; basic_30-datanet2=192.168.20.209; basic_30-datanet3=192.168.30.62; osm-ext=172.21.248.237 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b11633d7-aeff-427a-9070-b41f672ea82c | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::29c; basic_30-datanet2=192.168.20.203; basic_30-datanet3=192.168.30.75; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | b7aac505-877f-4f47-b719-15b59cc4d277 | 2024-04-16T03:51: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} = b7aac505-877f-4f47-b719-15b59cc4d277 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b7aac505-877f-4f47-b719-15b59cc4d277 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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03: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_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:52: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_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:53: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_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:54: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_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.229: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.229: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.229:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:55:53 GMT', 'Content-Length': '300'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"b7aac505-877f-4f47-b719-15b59cc4d277","ns_name":"sa_07-alarm_test","project_id":"846d7488-43b0-414f-9a1a-e701d83b87cd","vdu_name":"sa_07-alarm_test-vnf-cirros_vnfd-VM-0","vnf_member_index":"vnf"},"value":[1713239753.552,"0.049999999999999996"]}]}} ${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': 'b7aac505-877f-4f47-b719-15b59c... ${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': 'b7aac505-877f-4f47-b719-15b59cc4d277', 'ns_name': 'sa_07-alarm_test', 'project_id': '846d7488-4... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.049999999999999996 ${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.179:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 03:55:53 UTC 2024 System load: 0.01 Processes: 102 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.179 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 03:51:09 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:52:10", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:52:10", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:52:40", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:53:10", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:53:40", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:54:10", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:54:40", "status": "insufficient-data", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:55:11", "status": "alarm", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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": "5fa4dd61-92fb-4dc2-9464-0fa17d9d391b", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "16-04-2024 03:55:41", "status": "alarm", "tags": {"ns_id": "b7aac505-877f-4f47-b719-15b59cc4d277", "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} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | c1576af4-fc09-406d-9374-fc0da0d66478 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 991cc708-bf1f-4818-80b9-70a1e1c74838 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.165 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 55f710ad-46d3-4b12-b3a8-a2ce28457a97 | epa_04-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.191 | ubuntu20.04 | | | 9cd4de4e-9e59-4fe9-9e81-d856d2eca29e | epa_04-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.249.211 | ubuntu20.04 | | | d0e5a4a5-a041-4772-980b-b12ff25a6560 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.61 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | c1576af4-fc09-406d-9374-fc0da0d66478 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 991cc708-bf1f-4818-80b9-70a1e1c74838 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.165 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | c1576af4-fc09-406d-9374-fc0da0d66478 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.153 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 991cc708-bf1f-4818-80b9-70a1e1c74838 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.165 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 5dc7da07-d5c0-405b-9ac8-1cbfc03fa98a | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 75a07409-dbbd-43c6-8b4a-6422206e2b8a | fail_01_1493-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 f3fb36b8-c503-4a5e-a932-1c0330ef0f8c ${rc} ${success_return_code} Fails if objects are unequal after 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} = f3fb36b8-c503-4a5e-a932-1c0330ef0f8c 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 a... ${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 aa982cb4-d6fe-4a36-a223-fc397d9a80bc ${rc} ${success_return_code} Fails if objects are unequal after 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} = aa982cb4-d6fe-4a36-a223-fc397d9a80bc 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} = 39926506-9128-4473-bc44-adb62389d8e1 ${stdout} Logs the given message with the given level. 39926506-9128-4473-bc44-adb62389d8e1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 39926506-9128-4473-bc44-adb62389d8e1 ${ns_id} Logs the given message with the given level. 39926506-9128-4473-bc44-adb62389d8e1 ${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 | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 75a07409-dbbd-43c6-8b4a-6422206e2b8a | fail_01_1493-vnf-mgmtVM-0 | ACTIVE | fail_01_1493-internal=192.168.109.28; osm-ext=172.21.249.183 | ubuntu20.04 | simple_requires-1-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | BUILD | | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | e93fc6e2-a107-432c-adba-3620bbbf6ea6 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | BUILD | | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | e9a413a0-3220-439b-bef4-0339780c0ead | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.220.92; osm-ext=172.21.248.62 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | e93fc6e2-a107-432c-adba-3620bbbf6ea6 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.248.213; sa_08-vnf_with_v-external=192.168.174.121; sa_08-vnf_with_v-internal=192.168.9.29 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | BUILDING | INSTANTIATING (248a06fc-e2bf-430c-bb28-c34c6e1efa33) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | e9a413a0-3220-439b-bef4-0339780c0ead | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.220.92; osm-ext=172.21.248.62 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | e93fc6e2-a107-432c-adba-3620bbbf6ea6 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.248.213; sa_08-vnf_with_v-external=192.168.174.121; sa_08-vnf_with_v-internal=192.168.9.29 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | 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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | e9a413a0-3220-439b-bef4-0339780c0ead | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.220.92; osm-ext=172.21.248.62 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | e93fc6e2-a107-432c-adba-3620bbbf6ea6 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.248.213; sa_08-vnf_with_v-external=192.168.174.121; sa_08-vnf_with_v-internal=192.168.9.29 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | 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 | 39926506-9128-4473-bc44-adb62389d8e1 | 2024-04-16T03:56:56 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 39926506-9128-4473-bc44-adb62389d8e1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 39926506-9128-4473-bc44-adb62389d8e1 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.229: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.229: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.229:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:58:41 GMT', 'Content-Length': '217'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifInOctets","ifAlias":"lo","ifDescr":"lo","ifIndex":"1","ifName":"lo","instance":"172.21.248.213","job":"3396b6e2a763438ab41e91502fc8fabb"},"value":[1713239921.26,"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.248.213', ... ${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.248.213', 'job': '3396b6e2a763438ab41e91502fc8fabb'}, 'value': [1713239921.... ${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.229: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.229: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.229:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 03:58:41 GMT', 'Content-Length': '244'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifMtu","ifAlias":"VyOS-eth0","ifDescr":"Red Hat, Inc Device 0001","ifIndex":"2","ifName":"eth0","instance":"172.21.248.213","job":"3396b6e2a763438ab41e91502fc8fabb"},"value":[1713239921.285,"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.248.213', 'job': '3396b6e2a763438ab41e91502fc8fab... ${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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | e9a413a0-3220-439b-bef4-0339780c0ead | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.220.92; osm-ext=172.21.248.62 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | e93fc6e2-a107-432c-adba-3620bbbf6ea6 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.248.213; sa_08-vnf_with_v-external=192.168.174.121; sa_08-vnf_with_v-internal=192.168.9.29 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | e9a413a0-3220-439b-bef4-0339780c0ead | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | d9fe48e8-fbb5-48af-afbc-3c818e207767 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.220.92; osm-ext=172.21.248.62 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 82b62db9-e49e-4a0b-9f48-524c190808f8 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 87205124-8bef-46ed-8db9-1c0684006572 | osm-v150-merge-121 | ACTIVE | osm-ext=172.21.248.238 | ubuntu22.04 | osm.sanity | | b99f062a-f940-45d7-ad3e-c85c4735b262 | osm-v150-merge-109 | ACTIVE | osm-ext=172.21.249.82 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | 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 16b0667b-5aab-41b6-b3b3-8841144defc0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 16b0667b-5aab-41b6-b3b3-8841144defc0 '%{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 666ae675-946f-4a57-aa85-5663dc9a8130 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 666ae675-946f-4a57-aa85-5663dc9a8130 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 2101bf0d-063d-44bb-8cde-99302534fd2d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2101bf0d-063d-44bb-8cde-99302534fd2d '%{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 cb0855e4-b245-4f93-9632-a912a7e598e0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = cb0855e4-b245-4f93-9632-a912a7e598e0 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} = 36df8d57-b92f-492c-b00a-bfa4285502d5 ${stdout} Logs the given message with the given level. 36df8d57-b92f-492c-b00a-bfa4285502d5 ${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} = c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 ${stdout} Logs the given message with the given level. c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 ${nsi_id} Logs the given message with the given level. c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 ${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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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 | c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 | 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} = c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = c143fb15-a43b-48e9-8ecb-f3ed3d74ffa0 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, '5df6bfc6-c51f-4599-9d7a-5227079020a7') ${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 5df6bfc6-c51f-4599-9d7a-5227079020a7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.118 ${stdout} Logs the given message with the given level. 172.21.249.118 ${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.118 '${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.118 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 | ba907c90-4803-4b90-91f4-7b27297903bd 01009f6a-0b0f-40ba-9142-7e1daa0fa873 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ ba907c90-4803-4b90-91f4-7b27297903bd | 01009f6a-0b0f-40ba-9142-7e1daa0fa873 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: ba907c90-4803-4b90-91f4-7b27297903bd 1: 01009f6a-0b0f-40ba-9142-7e1daa0fa873 @{slice_ns_list} = [ ba907c90-4803-4b90-91f4-7b27297903bd | 01009f6a-0b0f-40ba-9142-7e1daa0fa873 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. ba907c90-4803-4b90-91f4-7b27297903bd 01009f6a-0b0f-40ba-9142-7e1daa0fa873 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} ba907c90-4803-4b90-91f4-7b27297903bd ${ns_id} Logs the given message with the given level. ba907c90-4803-4b90-91f4-7b27297903bd @{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 ba907c90-4803-4b90-91f4-7b27297903bd | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 64529457-45c6-46ce-86a5-87af16344695 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 64529457-45c6-46ce-86a5-87af16344695 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 64529457-45c6-46ce-86a5-87af16344695 @{vnf_id_list} = [ 64529457-45c6-46ce-86a5-87af16344695 ] @{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} 64529457-45c6-46ce-86a5-87af16344695 ${vnf_id} Logs the given message with the given level. 64529457-45c6-46ce-86a5-87af16344695 @{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=64529457-45c6-46ce-86a5-87af16344695 | 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.193 ] ${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.193 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.193 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.193 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.193 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.193 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.193 ] 01009f6a-0b0f-40ba-9142-7e1daa0fa873 ${ns_id} Logs the given message with the given level. 01009f6a-0b0f-40ba-9142-7e1daa0fa873 @{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 01009f6a-0b0f-40ba-9142-7e1daa0fa873 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 717df297-c40b-40ef-9cec-441792d4b32d ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 717df297-c40b-40ef-9cec-441792d4b32d ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 717df297-c40b-40ef-9cec-441792d4b32d @{vnf_id_list} = [ 717df297-c40b-40ef-9cec-441792d4b32d ] @{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} 717df297-c40b-40ef-9cec-441792d4b32d ${vnf_id} Logs the given message with the given level. 717df297-c40b-40ef-9cec-441792d4b32d @{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=717df297-c40b-40ef-9cec-441792d4b32d | 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.179 ] ${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.179 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.179 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.179 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.179 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.179 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.193 | 172.21.248.179 ] ${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.193 1: 172.21.248.179 ${slice_vnfs_ips} ${temp_list} Makes a variable available everywhere within the scope of the current suite. ${slice_vnfs_ips} = ['172.21.249.193', '172.21.248.179'] 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.118 ${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.118 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.118 (172.21.249.118) 56(84) bytes of data. 64 bytes from 172.21.249.118: icmp_seq=1 ttl=63 time=2.19 ms 64 bytes from 172.21.249.118: icmp_seq=2 ttl=63 time=0.739 ms --- 172.21.249.11... ${stdout} Logs the given message with the given level. PING 172.21.249.118 (172.21.249.118) 56(84) bytes of data. 64 bytes from 172.21.249.118: icmp_seq=1 ttl=63 time=2.19 ms 64 bytes from 172.21.249.118: icmp_seq=2 ttl=63 time=0.739 ms --- 172.21.249.118 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.739/1.463/2.188/0.724 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.118:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 04:02:38 UTC 2024 System load: 0.08 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.118 Memory usage: 12% IP address for ens4: 192.168.152.60 Swap usage: 0% IP address for ens5: 192.168.231.184 Processes: 84 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file cluster_slices daily regression slice_01 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.118:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 04:02:40 UTC 2024 System load: 0.07 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.118 Memory usage: 12% IP address for ens4: 192.168.152.60 Swap usage: 0% IP address for ens5: 192.168.231.184 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 04:02: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@slicebasic:~$ ${ip} @{ip_list} 172.21.249.193 ${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.193 > /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.179 ${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.179 > /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 b52a7b85-8130-4b51-9ddf-565fef6fc5a6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b52a7b85-8130-4b51-9ddf-565fef6fc5a6 '%{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 73b15067-efab-4b74-a891-c9f379bc9081 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 73b15067-efab-4b74-a891-c9f379bc9081 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 ca6e62ce-bd58-4d0b-bc55-a002f57b34f5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ca6e62ce-bd58-4d0b-bc55-a002f57b34f5 '%{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 5c099eb4-0523-4a2f-bf89-f69e16b5cba8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 5c099eb4-0523-4a2f-bf89-f69e16b5cba8 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} = 4bfa3c28-7d12-4339-8f12-7f697206bfad ${stdout} Logs the given message with the given level. 4bfa3c28-7d12-4339-8f12-7f697206bfad ${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} = 33f42c06-8584-495b-91d5-dd8b2c09728e ${stdout} Logs the given message with the given level. 33f42c06-8584-495b-91d5-dd8b2c09728e ${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} = 5f8bb347-eaff-4124-9f9d-8e5affd652ef ${stdout} Logs the given message with the given level. 5f8bb347-eaff-4124-9f9d-8e5affd652ef ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 5f8bb347-eaff-4124-9f9d-8e5affd652ef ${nsi_id} Logs the given message with the given level. 5f8bb347-eaff-4124-9f9d-8e5affd652ef ${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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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 | 5f8bb347-eaff-4124-9f9d-8e5affd652ef | 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} = 5f8bb347-eaff-4124-9f9d-8e5affd652ef ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = 5f8bb347-eaff-4124-9f9d-8e5affd652ef 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} = 762ff7e9-4dc5-49f0-b591-6a6253f72901 ${stdout} Logs the given message with the given level. 762ff7e9-4dc5-49f0-b591-6a6253f72901 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 762ff7e9-4dc5-49f0-b591-6a6253f72901 ${nsi_id} Logs the given message with the given level. 762ff7e9-4dc5-49f0-b591-6a6253f72901 ${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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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 | 762ff7e9-4dc5-49f0-b591-6a6253f72901 | 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} = 762ff7e9-4dc5-49f0-b591-6a6253f72901 ${nsi2_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi2_id} = 762ff7e9-4dc5-49f0-b591-6a6253f72901 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, '2058740e-6320-481d-8767-625425733098') ${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 2058740e-6320-481d-8767-625425733098 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.59 ${stdout} Logs the given message with the given level. 172.21.248.59 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_ip} = 172.21.248.59 '${vnf_ip}' == '${EMPTY}' Fatal Error Variable \$\{ vnf_ip\} Empty Runs the given keyword with the given arguments, if ``condition`` is true. ${mgmt_vnf_ip} ${vnf_ip} Makes a variable available everywhere within the scope of the current suite. ${mgmt_vnf_ip} = 172.21.248.59 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 | 201a4236-339c-4cb8-9d8d-8ede97977dcc 2058740e-6320-481d-8767-625425733098 7ee26c1c-055b-40ce-80f4-6b601301673e ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 201a4236-339c-4cb8-9d8d-8ede97977dcc | 2058740e-6320-481d-8767-625425733098 | 7ee26c1c-055b-40ce-80f4-6b601301673e ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: 201a4236-339c-4cb8-9d8d-8ede97977dcc 1: 2058740e-6320-481d-8767-625425733098 2: 7ee26c1c-055b-40ce-80f4-6b601301673e @{slice_ns_list} = [ 201a4236-339c-4cb8-9d8d-8ede97977dcc | 2058740e-6320-481d-8767-625425733098 | 7ee26c1c-055b-40ce-80f4-6b601301673e ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 201a4236-339c-4cb8-9d8d-8ede97977dcc 2058740e-6320-481d-8767-625425733098 7ee26c1c-055b-40ce-80f4-6b601301673e @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 201a4236-339c-4cb8-9d8d-8ede97977dcc ${ns_id} Logs the given message with the given level. 201a4236-339c-4cb8-9d8d-8ede97977dcc @{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 201a4236-339c-4cb8-9d8d-8ede97977dcc | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | aae69a7c-1daf-404d-9a34-b64dbede196a ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ aae69a7c-1daf-404d-9a34-b64dbede196a ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: aae69a7c-1daf-404d-9a34-b64dbede196a @{vnf_id_list} = [ aae69a7c-1daf-404d-9a34-b64dbede196a ] @{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} aae69a7c-1daf-404d-9a34-b64dbede196a ${vnf_id} Logs the given message with the given level. aae69a7c-1daf-404d-9a34-b64dbede196a @{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=aae69a7c-1daf-404d-9a34-b64dbede196a | 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.175 ] ${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.175 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.175 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.175 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.175 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.175 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.175 ] 2058740e-6320-481d-8767-625425733098 ${ns_id} Logs the given message with the given level. 2058740e-6320-481d-8767-625425733098 @{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 2058740e-6320-481d-8767-625425733098 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 @{vnf_id_list} = [ fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 ] @{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} fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 ${vnf_id} Logs the given message with the given level. fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 @{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=fb9bbe00-9bb9-4d65-8815-a377aa4c0a27 | 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.59 ] ${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.59 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.59 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.59 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.59 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.59 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.175 | 172.21.248.59 ] 7ee26c1c-055b-40ce-80f4-6b601301673e ${ns_id} Logs the given message with the given level. 7ee26c1c-055b-40ce-80f4-6b601301673e @{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 7ee26c1c-055b-40ce-80f4-6b601301673e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | e279b112-2d99-497f-8a6e-766e6cffc74e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ e279b112-2d99-497f-8a6e-766e6cffc74e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: e279b112-2d99-497f-8a6e-766e6cffc74e @{vnf_id_list} = [ e279b112-2d99-497f-8a6e-766e6cffc74e ] @{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} e279b112-2d99-497f-8a6e-766e6cffc74e ${vnf_id} Logs the given message with the given level. e279b112-2d99-497f-8a6e-766e6cffc74e @{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=e279b112-2d99-497f-8a6e-766e6cffc74e | 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.198 ] ${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.198 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.198 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.198 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.198 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.198 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.175 | 172.21.248.59 | 172.21.249.198 ] ${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.175 1: 172.21.248.59 2: 172.21.249.198 @{ip_list} = [ 172.21.248.175 | 172.21.248.59 | 172.21.249.198 ] ${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.175', '172.21.248.59', '172.21.249.198'] Obtains the list of IPs addresses in the first slice and sets the list as a suite variable (slice1_vnfs_ips) cluster_slices daily regression slice_02 60s Waiting for the network to be up Pauses the test executed for the given time. Slept 1 minute Waiting for the network to be up ${mgmt_vnf_ip} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.248.59 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.59 (172.21.248.59) 56(84) bytes of data. 64 bytes from 172.21.248.59: icmp_seq=1 ttl=63 time=2.96 ms 64 bytes from 172.21.248.59: icmp_seq=2 ttl=63 time=0.522 ms --- 172.21.248.59 pin... ${stdout} Logs the given message with the given level. PING 172.21.248.59 (172.21.248.59) 56(84) bytes of data. 64 bytes from 172.21.248.59: icmp_seq=1 ttl=63 time=2.96 ms 64 bytes from 172.21.248.59: icmp_seq=2 ttl=63 time=0.522 ms --- 172.21.248.59 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.522/1.742/2.962/1.220 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Pings the slice middle vnf (mgmt_vnf_ip) cluster_slices daily regression slice_02 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${mgmt_vnf_ip} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 04:08:38 UTC 2024 System load: 0.01 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.248.59 Memory usage: 12% IP address for ens4: 192.168.175.33 Swap usage: 0% IP address for ens5: 192.168.13.243 Processes: 84 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file cluster_slices daily regression slice_02 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice1_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 04:08:40 UTC 2024 System load: 0.09 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.59 Memory usage: 12% IP address for ens4: 192.168.175.33 Swap usage: 0% IP address for ens5: 192.168.13.243 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 04:08: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@slicebasic:~$ ${ip} @{ip_list} 172.21.248.175 ${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.175 > /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.59 ${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.59 > /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.198 ${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.198 > /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 | 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d @{slice_ns_list} = [ 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d ${ns_id} Logs the given message with the given level. 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d @{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 8ef49c6b-6e7a-4a13-9790-ae8c7a995a3d | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 888712dd-854e-4697-8567-cf94dacf6c1e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 888712dd-854e-4697-8567-cf94dacf6c1e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 888712dd-854e-4697-8567-cf94dacf6c1e @{vnf_id_list} = [ 888712dd-854e-4697-8567-cf94dacf6c1e ] @{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} 888712dd-854e-4697-8567-cf94dacf6c1e ${vnf_id} Logs the given message with the given level. 888712dd-854e-4697-8567-cf94dacf6c1e @{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=888712dd-854e-4697-8567-cf94dacf6c1e | 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.73 ] ${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.73 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.73 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.73 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.73 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.73 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.73 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.73 @{ip_list} = [ 172.21.248.73 ] ${ip_list} is not None Fails if the given condition is not true. ${slice2_vnfs_ips} ${ip_list} Makes a variable available everywhere within the scope of the current suite. ${slice2_vnfs_ips} = ['172.21.248.73'] Obtains the list of IPs addresses in the second slice and sets the list as a suite variable (slice2_vnfs_ips) cluster_slices daily regression slice_02 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice2_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.59:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 04:09:51 UTC 2024 System load: 0.02 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.59 Memory usage: 12% IP address for ens4: 192.168.175.33 Swap usage: 0% IP address for ens5: 192.168.13.243 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 04:08: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@slicebasic:~$ ${ip} @{ip_list} 172.21.248.73 ${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.73 > /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 97205b23-9a66-4dd6-9704-630b508b8611 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 97205b23-9a66-4dd6-9704-630b508b8611 ${id} = 97205b23-9a66-4dd6-9704-630b508b8611 ${vnfid} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfid} = 97205b23-9a66-4dd6-9704-630b508b8611 ${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} = 64530b97-a484-4e17-b427-8a51fbdc1c2e ${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} = 64530b97-a484-4e17-b427-8a51fbdc1c2e ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 64530b97-a484-4e17-b427-8a51fbdc1c2e 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:09 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr', 'Content-Length': '548', 'Set-Cookie': 'session_id=fc0d3559b230767e8ee4946e3635584dde6bcb4f; expires=Tue, 16 Apr 2024 05:11:09 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240669.1486948, "expires": 1713244269.1486948, "_id": "qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr", "id": "qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 27759, "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.229'. 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} = ['qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr ${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': '64530b97-a484-4e17-b427-8a51fbdc1c2e', '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': '64530b97-a484-4e17-b427-8a51fbdc1c2e', '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': '64530b97-a484-4e17-b427-8a51fbdc1c2e', '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': '64530b97-a484-4e17-b427-8a51fbdc1c2e', '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.229: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 qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr } ${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.229: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 qHxmVBYTTHlaxCGzjyrt78I2sS8O1lPr', 'Content-Length': '355'} body=b'{"vnfdId": "hackfest_basic_metrics-vnf", "vnfInstanceName": "sol003-instance", "vnfInstanceDescription": "Test vnfm instance description", "vimAccountId": "64530b97-a484-4e17-b427-8a51fbdc1c2e", "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.229:9999/osm/vnflcm/v1/vnf_instances status=201, reason=Created headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:12 GMT', 'Location': '/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09', 'Content-Length': '53', 'Set-Cookie': 'session_id=f81e456bea04dfe5bee578964978b7a780917d4a; expires=Tue, 16 Apr 2024 05:11:12 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['425a42b6-90d2-4edf-bfdc-6cd2351afa09'] ${createid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${createid} = 425a42b6-90d2-4edf-bfdc-6cd2351afa09 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:12 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp', 'Content-Length': '548', 'Set-Cookie': 'session_id=8359a7f9eb0dc7ec56ecee2798a45e89a4df1be7; expires=Tue, 16 Apr 2024 05:11:12 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240672.6566515, "expires": 1713244272.6566515, "_id": "yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp", "id": "yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 35403, "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.229'. 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} = ['yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp ${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': '64530b97-a484-4e17-b427-8a51fbdc1c2e'} ${updated_json_obj} ${json_obj} $..vnfId ${createid} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '425a42b6-90d2-4edf-bfdc-6cd2351afa09', 'vimAccountId': '64530b97-a484-4e17-b427-8a51fbdc1c2e'} ${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': '425a42b6-90d2-4edf-bfdc-6cd2351afa09', 'vimAccountId': '64530b97-a484-4e17-b427-8a51fbdc1c2e'} ${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.229: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 yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp } ${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.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/instantiate path_url=/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/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 yeDY68r4uQGgZ6R49nxwJhetT1pj9pNp', 'Content-Length': '168'} body=b'{"vnfName": "sol003-instance", "vnfDescription": "vnf package", "vnfId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "vimAccountId": "64530b97-a484-4e17-b427-8a51fbdc1c2e"}' POST Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/instantiate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:14 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a', 'Content-Length': '53', 'Set-Cookie': 'session_id=e74cd9488726a26fc84f880adc0350b38a5dcd26; expires=Tue, 16 Apr 2024 05:11:14 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a'] ${instantiateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${instantiateid} = 73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:27 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC', 'Content-Length': '548', 'Set-Cookie': 'session_id=2ea48a1e5da7b4f76e422c4f1ca5162005529db8; expires=Tue, 16 Apr 2024 05:11:27 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240687.0147476, "expires": 1713244287.0147476, "_id": "5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC", "id": "5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 10854, "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.229'. 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} = ['5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC ${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.229: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 5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229: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 5Yb9ZNwyaFp3Jr96aRJQLyagtNRhpdTC'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:29 GMT', 'Content-Length': '4518', 'Set-Cookie': 'session_id=814a9d9e49754c8e29649ed5ae6fe61835923f15; expires=Tue, 16 Apr 2024 05:11:29 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "nsr-id-ref": "29d141a2-e965-4c2b-b3f1-a0c60d204b84", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1713240672.554638, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "97205b23-9a66-4dd6-9704-630b508b8611", "vim-account-id": "64530b97-a484-4e17-b427-8a51fbdc1c2e", "vca-id": null, "vdur": [ { "_id": "be5f516e-9538-49d6-8f17-20f23f939e5f", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "29d141a2-e965-4c2b-b3f1-a0c60d204b84", "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": "64530b97-a484-4e17-b427-8a51fbdc1c2e", "vnf_id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "vnfd_id": "97205b23-9a66-4dd6-9704-630b508b8611", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "97205b23-9a66-4dd6-9704-630b508b8611:file:cloud-config", "count-index": 0, "id": "be5f516e-9538-49d6-8f17-20f23f939e5f", "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:64530b97-a484-4e17-b427-8a51fbdc1c2e": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "8ad5752d-9c0c-40d7-b8fd-734ac1436741", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "8ad5752d-9c0c-40d7-b8fd-734ac1436741" } ], "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": 1713240672.5547822, "modified": 1713240672.5547822, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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.229'. 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} = ['425a42b6-90d2-4edf-bfdc-6cd2351afa09', 'be5f516e-9538-49d6-8f17-20f23f939e5f'] ${Queryid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Queryid} = 425a42b6-90d2-4edf-bfdc-6cd2351afa09 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:29 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/60LvK1JYBpJylkFr3ASCc5oqUUojKOrV', 'Content-Length': '548', 'Set-Cookie': 'session_id=cfe8c86eaf930f280adb5dcf4479bd92119d1354; expires=Tue, 16 Apr 2024 05:11:29 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240689.1861107, "expires": 1713244289.1861107, "_id": "60LvK1JYBpJylkFr3ASCc5oqUUojKOrV", "id": "60LvK1JYBpJylkFr3ASCc5oqUUojKOrV", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 42524, "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.229'. 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} = ['60LvK1JYBpJylkFr3ASCc5oqUUojKOrV', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 60LvK1JYBpJylkFr3ASCc5oqUUojKOrV ${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.229: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 60LvK1JYBpJylkFr3ASCc5oqUUojKOrV } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 path_url=/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 60LvK1JYBpJylkFr3ASCc5oqUUojKOrV'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:31 GMT', 'Content-Length': '4070', 'Set-Cookie': 'session_id=a232e69d2bf5595af29f2cc73c11b2e755a1d9d3; expires=Tue, 16 Apr 2024 05:11:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "nsr-id-ref": "29d141a2-e965-4c2b-b3f1-a0c60d204b84", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1713240672.554638, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "97205b23-9a66-4dd6-9704-630b508b8611", "vim-account-id": "64530b97-a484-4e17-b427-8a51fbdc1c2e", "vca-id": null, "vdur": [ { "_id": "be5f516e-9538-49d6-8f17-20f23f939e5f", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "29d141a2-e965-4c2b-b3f1-a0c60d204b84", "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": "64530b97-a484-4e17-b427-8a51fbdc1c2e", "vnf_id": "425a42b6-90d2-4edf-bfdc-6cd2351afa09", "vnfd_id": "97205b23-9a66-4dd6-9704-630b508b8611", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "97205b23-9a66-4dd6-9704-630b508b8611:file:cloud-config", "count-index": 0, "id": "be5f516e-9538-49d6-8f17-20f23f939e5f", "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:64530b97-a484-4e17-b427-8a51fbdc1c2e": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "8ad5752d-9c0c-40d7-b8fd-734ac1436741", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "8ad5752d-9c0c-40d7-b8fd-734ac1436741" } ], "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": 1713240672.5547822, "modified": 1713240672.5547822, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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.229'. 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} = ['425a42b6-90d2-4edf-bfdc-6cd2351afa09', 'be5f516e-9538-49d6-8f17-20f23f939e5f'] ${Instanceid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Instanceid} = 425a42b6-90d2-4edf-bfdc-6cd2351afa09 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:31 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe', 'Content-Length': '548', 'Set-Cookie': 'session_id=3dcd9e5b6cb6e1c2db968d638f1e61bfa9729161; expires=Tue, 16 Apr 2024 05:11:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240691.3660808, "expires": 1713244291.3660808, "_id": "NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe", "id": "NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 34637, "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.229'. 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} = ['NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe ${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.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe'} body=None GET Response : url=https://172.21.249.229: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': 'Tue, 16 Apr 2024 04:11:33 GMT', 'Content-Length': '1301', 'Set-Cookie': 'session_id=e3e5388bd5afeee01d85b60470e07db32c729a37; expires=Tue, 16 Apr 2024 05:11:33 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240674.8447847, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240690.5387616, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a'] ${lcmops} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmops} = 73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a ${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.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe'} body=None GET Response : url=https://172.21.249.229: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': 'Tue, 16 Apr 2024 04:11:33 GMT', 'Content-Length': '1301', 'Set-Cookie': 'session_id=fd7bbc6cf7d7ca5ffc3586320dc366215952ac80; expires=Tue, 16 Apr 2024 05:11:33 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240674.8447847, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240690.5387616, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe'} body=None GET Response : url=https://172.21.249.229: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': 'Tue, 16 Apr 2024 04:11:43 GMT', 'Content-Length': '1301', 'Set-Cookie': 'session_id=bf26d0e2f416b32e5ed09a957264e730fa8cd71e; expires=Tue, 16 Apr 2024 05:11:43 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240674.8447847, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240690.5387616, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229: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 NA5qSfSIlO2NZewCvEK89cXm9OZ0OCWe'} body=None GET Response : url=https://172.21.249.229: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': 'Tue, 16 Apr 2024 04:11:53 GMT', 'Content-Length': '1155', 'Set-Cookie': 'session_id=2a20709a852b1a80d076017cf71399fdba8fbd51; expires=Tue, 16 Apr 2024 05:11:53 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240705.5970817, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240705.5970829, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:53 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/mrZdiohghphmV0tGfFQIicyu8V3t3DJG', 'Content-Length': '547', 'Set-Cookie': 'session_id=7d9575bf2b26c5509537d06dad727070d52dc85c; expires=Tue, 16 Apr 2024 05:11:53 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240713.8301032, "expires": 1713244313.8301032, "_id": "mrZdiohghphmV0tGfFQIicyu8V3t3DJG", "id": "mrZdiohghphmV0tGfFQIicyu8V3t3DJG", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 4675, "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.229'. 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} = ['mrZdiohghphmV0tGfFQIicyu8V3t3DJG', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = mrZdiohghphmV0tGfFQIicyu8V3t3DJG ${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.229: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 mrZdiohghphmV0tGfFQIicyu8V3t3DJG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer mrZdiohghphmV0tGfFQIicyu8V3t3DJG'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:55 GMT', 'Content-Length': '1027', 'Set-Cookie': 'session_id=779185273ba9ed6981a609366c627f3b3d2c984b; expires=Tue, 16 Apr 2024 05:11:55 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240705.5970817, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240705.5970829, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a'] ${lcmopsid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsid} = 73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a ${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.229: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 mrZdiohghphmV0tGfFQIicyu8V3t3DJG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer mrZdiohghphmV0tGfFQIicyu8V3t3DJG'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:55 GMT', 'Content-Length': '1027', 'Set-Cookie': 'session_id=d2f3f7e37d089120078d0546247435f17fd5038e; expires=Tue, 16 Apr 2024 05:11:55 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "id": "73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240705.5970817, "lcmOperationType": "instantiate", "startTime": 1713240674.8447847, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240674.844823, "modified": 1713240705.5970829, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/73a7d858-c308-48b0-b8a8-fcdc0cdb3e1a", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:56 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB', 'Content-Length': '548', 'Set-Cookie': 'session_id=bdabbb84f6eac3b5a030f4bebcbe755a7ead00f4; expires=Tue, 16 Apr 2024 05:11:56 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240716.0749927, "expires": 1713244316.0749927, "_id": "MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB", "id": "MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 49783, "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.229'. 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} = ['MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB ${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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${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.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/scale path_url=/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB', '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.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/scale status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:58 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9', 'Content-Length': '53', 'Set-Cookie': 'session_id=fcdc2a92520b54d9b8b0a45ad3d4d7b62f8c1883; expires=Tue, 16 Apr 2024 05:11:58 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['80757ab1-274a-4fbd-a98f-df4d1b3ed3d9'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = 80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 ${value} = 80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 ${ID1} ${request_response.json()} $..id Get Value From JSON using JSONPath ${ID1} = ['80757ab1-274a-4fbd-a98f-df4d1b3ed3d9'] ${scaleoutid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${scaleoutid} = 80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 ${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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:58 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=4fcb5a3f28e510e98298836357669b038d541814; expires=Tue, 16 Apr 2024 05:11:58 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240718.2446766, "lcmOperationType": "scale", "startTime": 1713240718.2446766, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240718.2447045, "modified": 1713240718.3763766, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['80757ab1-274a-4fbd-a98f-df4d1b3ed3d9'] ${lcmopsscaleid} ${LcmopsScale[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 ${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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:11:58 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=01dfaaa1808a0f11143e2ecc1ecde3975b2b9b40; expires=Tue, 16 Apr 2024 05:11:58 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240718.2446766, "lcmOperationType": "scale", "startTime": 1713240718.2446766, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240718.2447045, "modified": 1713240718.3763766, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:08 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=9d2ee4091bbb855cc67e0a9d05bb7a9349e99904; expires=Tue, 16 Apr 2024 05:12:08 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240718.2446766, "lcmOperationType": "scale", "startTime": 1713240718.2446766, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240718.2447045, "modified": 1713240718.3763766, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:18 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=74e32b83b7c9cd0a2a1608740f20e60e9bd01c5c; expires=Tue, 16 Apr 2024 05:12:18 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240718.2446766, "lcmOperationType": "scale", "startTime": 1713240718.2446766, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240718.2447045, "modified": 1713240718.3763766, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer MpSwpC8lpiSnQ2NBhaZyCAMG5NdXkBdB'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:28 GMT', 'Content-Length': '1021', 'Set-Cookie': 'session_id=ad316b5b86c39740e7b0868eaec3b52d528c35d6; expires=Tue, 16 Apr 2024 05:12:28 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "id": "80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240748.438788, "lcmOperationType": "scale", "startTime": 1713240718.2446766, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240718.2447045, "modified": 1713240748.4387887, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/80757ab1-274a-4fbd-a98f-df4d1b3ed3d9", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:28 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf', 'Content-Length': '548', 'Set-Cookie': 'session_id=a18564d0dab6537e08937936ebee6cc0ce830a57; expires=Tue, 16 Apr 2024 05:12:28 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240748.7740884, "expires": 1713244348.7740884, "_id": "0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf", "id": "0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 24550, "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.229'. 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} = ['0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf ${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.229: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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf } ${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.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/terminate path_url=/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf', 'Content-Length': '66'} body=b'{"terminationType": "GRACEFUL", "gracefulTerminationTimeout": "5"}' POST Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09/terminate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:30 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3', 'Content-Length': '53', 'Set-Cookie': 'session_id=846449bae2dc71bf8bbda1a0d630d25101b76add; expires=Tue, 16 Apr 2024 05:12:30 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['e097aaf3-a655-4fa4-aa7b-d1b407e545d3'] ${terminateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${terminateid} = e097aaf3-a655-4fa4-aa7b-d1b407e545d3 ${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.229: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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:31 GMT', 'Content-Length': '1089', 'Set-Cookie': 'session_id=552cbd73bde3f50908b8e30f91d4cb25ae676d8f; expires=Tue, 16 Apr 2024 05:12:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240750.8843303, "lcmOperationType": "terminate", "startTime": 1713240750.8843303, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240750.884392, "modified": 1713240750.9729428, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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} = ['e097aaf3-a655-4fa4-aa7b-d1b407e545d3'] ${lcmopsscaleid} ${LcmopsTerminate[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = e097aaf3-a655-4fa4-aa7b-d1b407e545d3 ${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.229: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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:31 GMT', 'Content-Length': '1089', 'Set-Cookie': 'session_id=c49ee34195e5bbc46ca490d5a925c41cb53aa464; expires=Tue, 16 Apr 2024 05:12:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240750.8843303, "lcmOperationType": "terminate", "startTime": 1713240750.8843303, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240750.884392, "modified": 1713240750.9729428, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:41 GMT', 'Content-Length': '1089', 'Set-Cookie': 'session_id=50c144e58dfd66d2b73781921d7988f800ef3893; expires=Tue, 16 Apr 2024 05:12:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240750.8843303, "lcmOperationType": "terminate", "startTime": 1713240750.8843303, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240750.884392, "modified": 1713240750.9729428, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "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/e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229: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 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 0fI3fz10yi9k0uxftBnGv9YO3NxnYKTf'} body=None GET Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:51 GMT', 'Content-Length': '1024', 'Set-Cookie': 'session_id=6edf24e38b90b3e6702b68d9c22cb74aba46769c; expires=Tue, 16 Apr 2024 05:12:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "id": "e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713240766.021111, "lcmOperationType": "terminate", "startTime": 1713240750.8843303, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713240750.884392, "modified": 1713240766.0211117, "projects_read": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "projects_write": [ "846d7488-43b0-414f-9a1a-e701d83b87cd" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e097aaf3-a655-4fa4-aa7b-d1b407e545d3", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09" }, "vnfInstanceId": "425a42b6-90d2-4edf-bfdc-6cd2351afa09" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.229'. 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.229 ${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.229' 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.229:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.229: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.229: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.229:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:51 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV', 'Content-Length': '548', 'Set-Cookie': 'session_id=43a7d3365f3013e2cce3adc7dc278228acec0f37; expires=Tue, 16 Apr 2024 05:12:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713240771.3433032, "expires": 1713244371.3433032, "_id": "ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV", "id": "ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV", "project_id": "846d7488-43b0-414f-9a1a-e701d83b87cd", "project_name": "admin", "username": "admin", "user_id": "1a0e3f6a-421d-4412-aec2-fa527ee0ff38", "admin": true, "roles": [ { "name": "system_admin", "id": "f660286b-b7c6-4f64-88a7-a3311c5bda7a" } ], "remote_port": 20800, "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.229'. 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} = ['ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV', 'f660286b-b7c6-4f64-88a7-a3311c5bda7a'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV ${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.229: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 ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV } ${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.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 path_url=/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer ScX8oMfcbXDSR5TdIY3GqRJZtmhu8rlV', 'Content-Length': '0'} body=None DELETE Response : url=https://172.21.249.229:9999/osm/vnflcm/v1/vnf_instances/425a42b6-90d2-4edf-bfdc-6cd2351afa09 status=204, reason=No Content headers={'Content-Type': 'text/html;charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Tue, 16 Apr 2024 04:12:53 GMT', 'Set-Cookie': 'session_id=4b99445a0b0380d82a09ccb236fa7a76fd5e8c6e; expires=Tue, 16 Apr 2024 05:12:53 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.229'. 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