'${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} = 197807 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_197807 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_197807 ${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_197807 --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_197807 --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} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${stdout} Logs the given message with the given level. 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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_197807 " | 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_197807 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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=792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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=792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${param_name} = vim_account_id ${param_value} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="792f5fd1-4fde-4175-a6ce-5764a361f6d0", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:34:49 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=792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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=792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${param_name} = vim_account_id ${param_value} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="792f5fd1-4fde-4175-a6ce-5764a361f6d0", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22792f5fd1-4fde-4175-a6ce-5764a361f6d0%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:35:04 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vim_account_id":"792f5fd1-4fde-4175-a6ce-5764a361f6d0"},"value":[1711676104.173,"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': 'c2ca7b14-aa50-4937-a6f1-8c4993... ${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': 'c2ca7b14-aa50-4937-a6f1-8c499377a4b4', 'vim_account_id': '792f5fd1-4fde-4175-a6ce-5764a361f6d0'... ${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_197807 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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} = 792f5fd1-4fde-4175-a6ce-5764a361f6d0 ${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_197807 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_197807 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} = 964895 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_964895 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_964895 ${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_964895 --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_964895 --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_964895 --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} = 4b4e7874-4974-46a1-888c-794452b70932 ${stdout} Logs the given message with the given level. 4b4e7874-4974-46a1-888c-794452b70932 ${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} = 4b4e7874-4974-46a1-888c-794452b70932 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 4b4e7874-4974-46a1-888c-794452b70932 ${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_964895 " | 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_964895 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 4b4e7874-4974-46a1-888c-794452b70932 ${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} = 4b4e7874-4974-46a1-888c-794452b70932 ${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=4b4e7874-4974-46a1-888c-794452b70932 ${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=4b4e7874-4974-46a1-888c-794452b70932 ${param_name} = vim_account_id ${param_value} = 4b4e7874-4974-46a1-888c-794452b70932 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="4b4e7874-4974-46a1-888c-794452b70932", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:35:13 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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=4b4e7874-4974-46a1-888c-794452b70932 ${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=4b4e7874-4974-46a1-888c-794452b70932 ${param_name} = vim_account_id ${param_value} = 4b4e7874-4974-46a1-888c-794452b70932 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="4b4e7874-4974-46a1-888c-794452b70932", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%224b4e7874-4974-46a1-888c-794452b70932%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:35:28 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vim_account_id":"4b4e7874-4974-46a1-888c-794452b70932"},"value":[1711676128.149,"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': 'c2ca7b14-aa50-4937-a6f1-8c4993... ${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': 'c2ca7b14-aa50-4937-a6f1-8c499377a4b4', 'vim_account_id': '4b4e7874-4974-46a1-888c-794452b70932'... ${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_964895 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 4b4e7874-4974-46a1-888c-794452b70932 ${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} = 4b4e7874-4974-46a1-888c-794452b70932 ${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 4b4e7874-4974-46a1-888c-794452b70932 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 4b4e7874-4974-46a1-888c-794452b70932 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 c7bbf7b4-ae1d-4879-845e-c25f8828e6d7 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c7bbf7b4-ae1d-4879-845e-c25f8828e6d7 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 2cc53697-9699-46e8-8f20-23666294b8e9 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2cc53697-9699-46e8-8f20-23666294b8e9 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} = db477b31-d270-493c-aca2-fcd24fde6b29 ${stdout} Logs the given message with the given level. db477b31-d270-493c-aca2-fcd24fde6b29 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = db477b31-d270-493c-aca2-fcd24fde6b29 ${ns_id} Logs the given message with the given level. db477b31-d270-493c-aca2-fcd24fde6b29 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | BUILDING | INSTANTIATING (f2d58732-4a14-4f0e-a8f1-220bc2804b71) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | BUILDING | INSTANTIATING (f2d58732-4a14-4f0e-a8f1-220bc2804b71) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 7aac3606-d6e5-4806-8f55-07538314768c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.28 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | BUILDING | INSTANTIATING (f2d58732-4a14-4f0e-a8f1-220bc2804b71) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | BUILDING | INSTANTIATING (f2d58732-4a14-4f0e-a8f1-220bc2804b71) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 7aac3606-d6e5-4806-8f55-07538314768c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.28 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | READY | IDLE (None) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 7aac3606-d6e5-4806-8f55-07538314768c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.28 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | db477b31-d270-493c-aca2-fcd24fde6b29 | 2024-03-29T01:35:36 | READY | IDLE (None) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = db477b31-d270-493c-aca2-fcd24fde6b29 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = db477b31-d270-493c-aca2-fcd24fde6b29 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 db477b31-d270-493c-aca2-fcd24fde6b29 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.28 ${stdout} Logs the given message with the given level. 172.21.249.28 ${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.28 ${ip_addr} Logs the given message with the given level. 172.21.249.28 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.28 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.28: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 Fri Mar 29 01:37:19 UTC 2024 System load: 0.75 Processes: 98 Usage of /: 11.5% of 9.52GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.28 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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 7aac3606-d6e5-4806-8f55-07538314768c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.28 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 c5af31a0-6ab6-4ccf-86cb-ec49bef6be95 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c5af31a0-6ab6-4ccf-86cb-ec49bef6be95 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 9a7290a7-a08c-4bca-a7df-a43f2daa70e8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9a7290a7-a08c-4bca-a7df-a43f2daa70e8 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} = c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 ${stdout} Logs the given message with the given level. c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 ${ns_id} Logs the given message with the given level. c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | BUILDING | INSTANTIATING (51a7314e-5399-47e7-8c39-368fb6470858) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | bb06321f-6120-4344-8548-28052d2f7410 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | 2024-03-29T01:37:54 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 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 c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.47 ${stdout} Logs the given message with the given level. 172.21.248.47 ${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.47 ${ip_addr_1} Logs the given message with the given level. 172.21.248.47 ${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.47 ${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 c61f38c0-ec3a-45ae-81b4-f4b0b5513e12 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.199 ${stdout} Logs the given message with the given level. 172.21.248.199 ${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.199 ${ip_addr_2} Logs the given message with the given level. 172.21.248.199 ${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.199 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.47: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 Fri Mar 29 01:40:46 UTC 2024 System load: 0.31 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.47 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.199: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 Fri Mar 29 01:40:48 UTC 2024 System load: 0.07 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.199 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.47: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 Fri Mar 29 01:40:50 UTC 2024 System load: 0.28 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.47 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: Fri Mar 29 01:40:47 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.199: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 Fri Mar 29 01:40:51 UTC 2024 System load: 0.07 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.199 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: Fri Mar 29 01:40:48 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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} = 227f35e0-10bc-44b9-8862-d8f85e3d34f7 ${rc} ${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 227f35e0-10bc-44b9-8862-d8f85e3d34f7 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 227f35e0-10bc-44b9-8862-d8f85e3d34f7 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 227f35e0-10bc-44b9-8862-d8f85e3d34f7 --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 227f35e0-10bc-44b9-8862-d8f85e3d34f7 --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} = 227f35e0-10bc-44b9-8862-d8f85e3d34f7 ${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} = ca2657fd-a82a-4c53-8361-744ede173644 ${rc} ${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 ca2657fd-a82a-4c53-8361-744ede173644 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ca2657fd-a82a-4c53-8361-744ede173644 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ca2657fd-a82a-4c53-8361-744ede173644 --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 ca2657fd-a82a-4c53-8361-744ede173644 --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} = ca2657fd-a82a-4c53-8361-744ede173644 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.47: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 Fri Mar 29 01:41:33 UTC 2024 System load: 0.13 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.47 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: Fri Mar 29 01:40:50 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.199: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 Fri Mar 29 01:41:35 UTC 2024 System load: 0.03 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.199 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: Fri Mar 29 01:40:52 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 3b79719e-e3e8-4b9e-a35f-7bfce6647da9 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.50; osm-ext=172.21.248.199 | ubuntu18.04 | simple_requires-1-1-flv | | 74b37cc5-7f6b-4a95-8502-19cccf79c2c4 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.42.240; osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 bbeb8720-3e58-4987-8872-a4e9741b1d32 ${rc} ${success_return_code} Fails if objects are unequal after 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} = bbeb8720-3e58-4987-8872-a4e9741b1d32 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 1636e9b5-0418-4f6d-8146-77f269ab19ba ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1636e9b5-0418-4f6d-8146-77f269ab19ba 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} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${stdout} Logs the given message with the given level. 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${ns_id} Logs the given message with the given level. 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42:27 | BUILDING | INSTANTIATING (992be7a3-e179-424f-9959-9eab8dfce1df) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42: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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 62fdaebe-44db-4898-b56a-2589a3ff5d5c | 2024-03-29T01:42: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} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c 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} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${stdout} Logs the given message with the given level. 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${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} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 62fdaebe-44db-4898-b56a-2589a3ff5d5c 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 62fdaebe-44db-4898-b56a-2589a3ff5d5c | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.62 ${stdout} Logs the given message with the given level. 172.21.248.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.248.62 ${ip_addr} Logs the given message with the given level. 172.21.248.62 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.62 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.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 01:45:18 UTC 2024 System load: 0.11 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 01:45:19 UTC 2024 System load: 0.11 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 01:45:18 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Nopasswd VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch and performs it without password. This test checks whether that files have been created or not. basic_07 cluster_ee_config daily regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${action_name} ${vnf_member_index} filename=${day_2_file_name} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_07_secure_key_management ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = 56f65939-5e0e-4636-a776-e28d5f3f9a57 ${rc} ${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 56f65939-5e0e-4636-a776-e28d5f3f9a57 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 56f65939-5e0e-4636-a776-e28d5f3f9a57 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56f65939-5e0e-4636-a776-e28d5f3f9a57 --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 56f65939-5e0e-4636-a776-e28d5f3f9a57 --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} = 56f65939-5e0e-4636-a776-e28d5f3f9a57 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.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 01:45:41 UTC 2024 System load: 0.07 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 01:45:20 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the file created in the previous test via Day 2 operation exists or not. basic_07 cluster_ee_config daily regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 787d0ea6-cad1-4bac-93a2-ec93736e94ef | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.238; osm-ext=172.21.249.86 | ubuntu18.04 | simple_requires-1-1-flv | | 45491d57-6ee6-4cae-9460-e1462bc8a693 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.168.201; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${stdout} Logs the given message with the given level. 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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=364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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=364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${param_name} = vim_account_id ${param_value} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="364f2b70-beb2-4b3c-91e7-a15c5d19e51c", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:46:31 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=364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${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=364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${param_name} = vim_account_id ${param_value} = 364f2b70-beb2-4b3c-91e7-a15c5d19e51c ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="364f2b70-beb2-4b3c-91e7-a15c5d19e51c", ${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.12: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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%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.12:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22364f2b70-beb2-4b3c-91e7-a15c5d19e51c%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 01:46:46 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vim_account_id":"364f2b70-beb2-4b3c-91e7-a15c5d19e51c"},"value":[1711676806.458,"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': 'c2ca7b14-aa50-4937-a6f1-8c4993... ${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': 'c2ca7b14-aa50-4937-a6f1-8c499377a4b4', 'vim_account_id': '364f2b70-beb2-4b3c-91e7-a15c5d19e51c'... ${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 3357dced-5798-4342-9cdb-079d95cd9a06 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3357dced-5798-4342-9cdb-079d95cd9a06 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 0ce83f3e-2d2f-41cf-a9d4-14cd2d18601c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0ce83f3e-2d2f-41cf-a9d4-14cd2d18601c 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} = 7345d04f-eda4-4040-8333-da999f37a227 ${stdout} Logs the given message with the given level. 7345d04f-eda4-4040-8333-da999f37a227 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7345d04f-eda4-4040-8333-da999f37a227 ${ns_id} Logs the given message with the given level. 7345d04f-eda4-4040-8333-da999f37a227 ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.101.51; osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.101.103; osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.101.227; osm-ext=172.21.249.66 | ubuntu18.04 | osm.heal02_470165 | | 54dacdc3-dca5-44e5-99a0-5dc70cace443 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46:51 | BUILDING | INSTANTIATING (cb0a6749-b331-4106-8540-5fbcd0b26933) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46:51 | BUILDING | INSTANTIATING (cb0a6749-b331-4106-8540-5fbcd0b26933) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | 6bd4ba27-44d1-4806-926b-a9275ee5fd8e | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 7d083ae7-8d6d-4c63-9056-072c590bcee4 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 45e7689f-2b85-43b5-adca-89c05b197094 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.242.100; osm-ext=172.21.249.110 | ubuntu20.04 | simple_requires-1-1-flv | | 8c72177a-bd26-4869-aebd-92d4e3deae94 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.102 | ubuntu18.04 | osm.heal02_470165 | | 757ea2d8-c265-49ec-a4bb-5ecf52017ff8 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.16 | ubuntu18.04 | osm.heal02_470165 | | d247683a-407c-4c69-8493-e4713e62512d | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | | ubuntu18.04 | osm.heal02_470165 | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46:51 | BUILDING | INSTANTIATING (cb0a6749-b331-4106-8540-5fbcd0b26933) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46:51 | BUILDING | INSTANTIATING (cb0a6749-b331-4106-8540-5fbcd0b26933) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 5cbc5179-9cb8-49c4-87cd-97786c8f5691 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.214; basic_08_disable-internal=192.168.97.232 | ubuntu20.04 | simple_requires-1-1-flv | | 6bd4ba27-44d1-4806-926b-a9275ee5fd8e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.97.66; osm-ext=172.21.248.126 | ubuntu20.04 | simple_requires-1-1-flv | | 7d083ae7-8d6d-4c63-9056-072c590bcee4 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.10; basic_08_disable-internal=192.168.242.158 | ubuntu20.04 | simple_requires-1-1-flv | | 45e7689f-2b85-43b5-adca-89c05b197094 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.242.100; osm-ext=172.21.249.110 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46: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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 5cbc5179-9cb8-49c4-87cd-97786c8f5691 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.214; basic_08_disable-internal=192.168.97.232 | ubuntu20.04 | simple_requires-1-1-flv | | 6bd4ba27-44d1-4806-926b-a9275ee5fd8e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.97.66; osm-ext=172.21.248.126 | ubuntu20.04 | simple_requires-1-1-flv | | 7d083ae7-8d6d-4c63-9056-072c590bcee4 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.10; basic_08_disable-internal=192.168.242.158 | ubuntu20.04 | simple_requires-1-1-flv | | 45e7689f-2b85-43b5-adca-89c05b197094 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.242.100; osm-ext=172.21.249.110 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 7345d04f-eda4-4040-8333-da999f37a227 | 2024-03-29T01:46: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} = 7345d04f-eda4-4040-8333-da999f37a227 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7345d04f-eda4-4040-8333-da999f37a227 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 5cbc5179-9cb8-49c4-87cd-97786c8f5691 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.214; basic_08_disable-internal=192.168.97.232 | ubuntu20.04 | simple_requires-1-1-flv | | 6bd4ba27-44d1-4806-926b-a9275ee5fd8e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.97.66; osm-ext=172.21.248.126 | ubuntu20.04 | simple_requires-1-1-flv | | 7d083ae7-8d6d-4c63-9056-072c590bcee4 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.154.10; basic_08_disable-internal=192.168.242.158 | ubuntu20.04 | simple_requires-1-1-flv | | 45e7689f-2b85-43b5-adca-89c05b197094 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.242.100; osm-ext=172.21.249.110 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 5cbc5179-9cb8-49c4-87cd-97786c8f5691 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 6bd4ba27-44d1-4806-926b-a9275ee5fd8e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.97.66; osm-ext=172.21.248.126 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 d22269ef-b17b-4aa2-9a94-772bb3dadcf4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = d22269ef-b17b-4aa2-9a94-772bb3dadcf4 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 914e39e5-bf82-44ea-8b2f-b75a6a514167 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 914e39e5-bf82-44ea-8b2f-b75a6a514167 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} = c688800c-2092-4bb8-9760-68311efade45 ${stdout} Logs the given message with the given level. c688800c-2092-4bb8-9760-68311efade45 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c688800c-2092-4bb8-9760-68311efade45 ${ns_id} Logs the given message with the given level. c688800c-2092-4bb8-9760-68311efade45 ${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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c688800c-2092-4bb8-9760-68311efade45 | 2024-03-29T01:49:00 | BUILDING | INSTANTIATING (6fe6ff6e-a577-4105-b80a-4bf8228743bc) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c688800c-2092-4bb8-9760-68311efade45 | 2024-03-29T01:49:00 | BUILDING | INSTANTIATING (6fe6ff6e-a577-4105-b80a-4bf8228743bc) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | e3e26abf-b82e-426f-966c-fabfea4aa638 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.143 | ubuntu20.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c688800c-2092-4bb8-9760-68311efade45 | 2024-03-29T01:49: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} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | e3e26abf-b82e-426f-966c-fabfea4aa638 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.143 | ubuntu20.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c688800c-2092-4bb8-9760-68311efade45 | 2024-03-29T01:49: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} = c688800c-2092-4bb8-9760-68311efade45 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} = c688800c-2092-4bb8-9760-68311efade45 ${stdout} Logs the given message with the given level. c688800c-2092-4bb8-9760-68311efade45 ${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} = c688800c-2092-4bb8-9760-68311efade45 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c688800c-2092-4bb8-9760-68311efade45 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 c688800c-2092-4bb8-9760-68311efade45 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7e53f044-dc48-4bc9-b67a-afa500684551 ${rc} ${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} = [ 7e53f044-dc48-4bc9-b67a-afa500684551 ] @{vnfr_list} = [ 7e53f044-dc48-4bc9-b67a-afa500684551 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 7e53f044-dc48-4bc9-b67a-afa500684551 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 7e53f044-dc48-4bc9-b67a-afa500684551 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 7e53f044-dc48-4bc9-b67a-afa500684551 --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} = c365fbb0-cc91-4dfd-9f10-2a82d4144103 ${rc} ${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 c365fbb0-cc91-4dfd-9f10-2a82d4144103 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c365fbb0-cc91-4dfd-9f10-2a82d4144103 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c365fbb0-cc91-4dfd-9f10-2a82d4144103 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c365fbb0-cc91-4dfd-9f10-2a82d4144103 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c365fbb0-cc91-4dfd-9f10-2a82d4144103 --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 c365fbb0-cc91-4dfd-9f10-2a82d4144103 --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} = c365fbb0-cc91-4dfd-9f10-2a82d4144103 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 7e53f044-dc48-4bc9-b67a-afa500684551 --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} = 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc ${rc} ${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 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc --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 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc --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} = 1e3cf45c-0fa4-4f8a-9c70-8c8eb0f205fc 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 7e53f044-dc48-4bc9-b67a-afa500684551 --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} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | e3e26abf-b82e-426f-966c-fabfea4aa638 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.143 | ubuntu20.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 65feee35-d6ae-4666-9e64-a67f7e265a30 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 65feee35-d6ae-4666-9e64-a67f7e265a30 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 745189e2-3ac3-49e0-8269-1750a79bab14 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 745189e2-3ac3-49e0-8269-1750a79bab14 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} = 836d0a45-a21d-4b69-9253-f05bfa228501 ${stdout} Logs the given message with the given level. 836d0a45-a21d-4b69-9253-f05bfa228501 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 836d0a45-a21d-4b69-9253-f05bfa228501 ${ns_id} Logs the given message with the given level. 836d0a45-a21d-4b69-9253-f05bfa228501 ${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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | BUILDING | INSTANTIATING (a80f4cf0-505f-4eb8-af42-23ad7afbf31f) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 836d0a45-a21d-4b69-9253-f05bfa228501 | 2024-03-29T01:51:17 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 836d0a45-a21d-4b69-9253-f05bfa228501 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 836d0a45-a21d-4b69-9253-f05bfa228501 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 836d0a45-a21d-4b69-9253-f05bfa228501 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.115 ${stdout} Logs the given message with the given level. 172.21.248.115 ${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.115 ${ip_addr_1} Logs the given message with the given level. 172.21.248.115 ${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.115 ${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 836d0a45-a21d-4b69-9253-f05bfa228501 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.233 ${stdout} Logs the given message with the given level. 172.21.249.233 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.249.233 ${ip_addr_2} Logs the given message with the given level. 172.21.249.233 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.249.233 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.115: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 Fri Mar 29 01:55:46 UTC 2024 System load: 0.35 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.115 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.233: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 Fri Mar 29 01:55:48 UTC 2024 System load: 0.29 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.233 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.115: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 Fri Mar 29 01:55:50 UTC 2024 System load: 0.32 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.115 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Fri Mar 29 01:55:46 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.249.233: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 Fri Mar 29 01:55:52 UTC 2024 System load: 0.26 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.233 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Fri Mar 29 01:55:48 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = basic_11_native_charms ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11_native_charms == basic_11_native_charms ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 23bf6025-f05a-4efa-a5f7-5163b7acb4ec | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.148; osm-ext=172.21.249.233 | ubuntu18.04 | simple_requires-1-1-flv | | 2d69fc22-f274-4395-accc-0b8f232d3045 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.47.54; osm-ext=172.21.248.115 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 ec89252e-0130-4adb-8616-0202483ae031 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ec89252e-0130-4adb-8616-0202483ae031 '%{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 1d18a926-dd94-4201-a001-7c15d24281a9 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1d18a926-dd94-4201-a001-7c15d24281a9 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 a82a6863-b274-4aba-877b-c5292f3a55cb ${rc} ${success_return_code} Fails if objects are unequal after 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} = a82a6863-b274-4aba-877b-c5292f3a55cb 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} = 0196435c-9f61-4689-9d44-59f13ded40af ${stdout} Logs the given message with the given level. 0196435c-9f61-4689-9d44-59f13ded40af ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 0196435c-9f61-4689-9d44-59f13ded40af ${ns_id} Logs the given message with the given level. 0196435c-9f61-4689-9d44-59f13ded40af ${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 | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | a77ec246-f06a-47ab-8173-d628b374016e | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | dabae9ce-2e2f-457b-83dc-d299db84edec | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | a58d3887-f774-44dc-b430-8f7e1a462fb0 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | BUILDING | INSTANTIATING (891396ca-dc03-4975-89c0-a4ec3efb79cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 0196435c-9f61-4689-9d44-59f13ded40af | 2024-03-29T01:56:46 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 0196435c-9f61-4689-9d44-59f13ded40af ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 0196435c-9f61-4689-9d44-59f13ded40af 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 43efa8a9-9061-487b-b611-a3e48c985db4 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.169; test_nscharm-internal=192.168.162.82 | ubuntu18.04 | simple_requires-1-1-flv | | 36b8631d-f4a3-4802-aae3-43b48100d8b5 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.23; test_nscharm-internal=192.168.87.78 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 08ba2613-954e-41c5-a038-e375778a7bed ${rc} ${success_return_code} Fails if objects are unequal after 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} = 08ba2613-954e-41c5-a038-e375778a7bed 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 a6834c3f-456d-46af-bc63-4ee7450e8467 ${rc} ${success_return_code} Fails if objects are unequal after 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} = a6834c3f-456d-46af-bc63-4ee7450e8467 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 ab82b9fb-b1e4-41e5-affd-9b9b35c682f1 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ab82b9fb-b1e4-41e5-affd-9b9b35c682f1 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} = b9d3ce9a-570c-415c-8336-db6b671f01dc ${stdout} Logs the given message with the given level. b9d3ce9a-570c-415c-8336-db6b671f01dc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b9d3ce9a-570c-415c-8336-db6b671f01dc ${ns_id} Logs the given message with the given level. b9d3ce9a-570c-415c-8336-db6b671f01dc ${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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 13f4dfed-616f-4b22-8b8e-d887d81d8032 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.60.139; osm-ext=172.21.249.165 | ubuntu18.04 | simple_requires-1-1-flv | | 1487b7f5-5496-4b71-bc1d-2ec9b0f476cc | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.60.148; osm-ext=172.21.249.52 | ubuntu18.04 | simple_requires-1-1-flv | | 57ba1253-00ad-4e63-8099-1de57aa09859 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.127 | ubuntu20.04 | several_volumes-VM-flv | | 0d932b43-f601-4d7a-8622-4e638411f9e5 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.60.72; osm-ext=172.21.248.151 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | BUILDING | INSTANTIATING (137f838f-4f4a-4074-8db8-e655f9792038) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | b9d3ce9a-570c-415c-8336-db6b671f01dc | 2024-03-29T02:00:36 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b9d3ce9a-570c-415c-8336-db6b671f01dc ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b9d3ce9a-570c-415c-8336-db6b671f01dc 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | ea3fdc7d-9223-4786-8308-8083fe876d2a | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | fe76b1ba-1c77-4b04-9443-19549db044b1 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.238 | ubuntu18.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ns_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ns_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_provides-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_provides-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_requires-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_requires-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-13] NS Relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/vnf_relations_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Package created: /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz 0a1fce72-5d0f-4df3-8bb2-cbf40e665067 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0a1fce72-5d0f-4df3-8bb2-cbf40e665067 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 e512d754-ec08-4de9-a9e3-cd7c4061155d ${rc} ${success_return_code} Fails if objects are unequal after 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} = e512d754-ec08-4de9-a9e3-cd7c4061155d 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} = c00def79-9817-4948-b832-d93f941f81b3 ${stdout} Logs the given message with the given level. c00def79-9817-4948-b832-d93f941f81b3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c00def79-9817-4948-b832-d93f941f81b3 ${ns_id} Logs the given message with the given level. c00def79-9817-4948-b832-d93f941f81b3 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05:26 | BUILDING | INSTANTIATING (80c096b9-671f-45fc-a9ca-b29a9f43313a) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05: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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c00def79-9817-4948-b832-d93f941f81b3 | 2024-03-29T02:05: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} = c00def79-9817-4948-b832-d93f941f81b3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c00def79-9817-4948-b832-d93f941f81b3 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 3e6fe74c-2d58-4d6a-8b49-904e2237fd8c | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu18.04 | simple_requires-1-1-flv | | 3c10f491-0d9e-464c-be71-4ce3db751bd8 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu18.04 | simple_requires-1-1-flv | | 31da424e-e475-40bf-92dd-c5699d335cf5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 80ef927e-b640-4b72-9e9e-da5f082ff05a | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.247 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = afe673db-7a1e-4e08-bdb3-43f62cf72fe9 ${stdout} Logs the given message with the given level. afe673db-7a1e-4e08-bdb3-43f62cf72fe9 ${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} = 8bb78e43-dc9b-4f9a-a69f-69dedbcf2603 ${stdout} Logs the given message with the given level. 8bb78e43-dc9b-4f9a-a69f-69dedbcf2603 ${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} = 6c531614-64df-467a-9a10-481288a3b29e ${stdout} Logs the given message with the given level. 6c531614-64df-467a-9a10-481288a3b29e ${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 6f1a96b9-128d-49ca-9221-c122430580f5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6f1a96b9-128d-49ca-9221-c122430580f5 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 a6049e14-0408-48c6-9599-db35104b0fcb ${rc} ${success_return_code} Fails if objects are unequal after 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} = a6049e14-0408-48c6-9599-db35104b0fcb 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} = ddc69887-73af-485f-964f-27a08a43f5b2 ${stdout} Logs the given message with the given level. ddc69887-73af-485f-964f-27a08a43f5b2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = ddc69887-73af-485f-964f-27a08a43f5b2 ${ns_id} Logs the given message with the given level. ddc69887-73af-485f-964f-27a08a43f5b2 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | BUILDING | INSTANTIATING (d2c1dc2a-fea7-47a5-954f-7857ccba4b76) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | BUILDING | INSTANTIATING (d2c1dc2a-fea7-47a5-954f-7857ccba4b76) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a0245fc3-c40b-4ce2-81cf-79ab8178d998 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | 12b83613-3490-4c72-9f83-709f7c00a4fb | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 93711f1c-f4cd-4b92-8863-fffe9abf25f4 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | BUILDING | INSTANTIATING (d2c1dc2a-fea7-47a5-954f-7857ccba4b76) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | BUILDING | INSTANTIATING (d2c1dc2a-fea7-47a5-954f-7857ccba4b76) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a0245fc3-c40b-4ce2-81cf-79ab8178d998 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | 12b83613-3490-4c72-9f83-709f7c00a4fb | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 93711f1c-f4cd-4b92-8863-fffe9abf25f4 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a0245fc3-c40b-4ce2-81cf-79ab8178d998 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | 12b83613-3490-4c72-9f83-709f7c00a4fb | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 93711f1c-f4cd-4b92-8863-fffe9abf25f4 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | ddc69887-73af-485f-964f-27a08a43f5b2 | 2024-03-29T02:10:39 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = ddc69887-73af-485f-964f-27a08a43f5b2 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = ddc69887-73af-485f-964f-27a08a43f5b2 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep ddc69887-73af-485f-964f-27a08a43f5b2 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 3e329b67-14cc-4404-8763-d1fbe466e67a ${rc} ${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} = [ 3e329b67-14cc-4404-8763-d1fbe466e67a ] @{vnfr_list} = [ 3e329b67-14cc-4404-8763-d1fbe466e67a ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 3e329b67-14cc-4404-8763-d1fbe466e67a ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 3e329b67-14cc-4404-8763-d1fbe466e67a basic_16 cluster_main daily regression @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3e329b67-14cc-4404-8763-d1fbe466e67a --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 3 ${init_instances} != ${initial_vdur_count} Fail msg=Instantiated VDUs (${initial_vdur_count}) don't match specified number in descriptor (${init_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check the number of VDUs instances before the manual scaling. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 88051a45-e674-4089-ac2f-fa499a8c370f ${rc} ${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 88051a45-e674-4089-ac2f-fa499a8c370f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 88051a45-e674-4089-ac2f-fa499a8c370f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 88051a45-e674-4089-ac2f-fa499a8c370f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 88051a45-e674-4089-ac2f-fa499a8c370f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 88051a45-e674-4089-ac2f-fa499a8c370f --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 88051a45-e674-4089-ac2f-fa499a8c370f --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} = 88051a45-e674-4089-ac2f-fa499a8c370f basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3e329b67-14cc-4404-8763-d1fbe466e67a --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 basic_16-vnf-hackfest_basic_metrics-VM-3 basic_16-vnf-hackfest_basic_metrics-... ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 5 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 3: basic_16-vnf-hackfest_basic_metrics-VM-3 4: basic_16-vnf-hackfest_basic_metrics-VM-4 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 5 ${vdurs} = 5 ${vdurs} != ${initial_vdur_count} + ${delta_instances} Fail msg=VDU instances in the VNF (${vdurs}) don't match after Scale Out (${initial_vdur_count} + ${delta_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 363b22ef-0db0-4012-9246-e08a6561413e ${rc} ${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 363b22ef-0db0-4012-9246-e08a6561413e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 363b22ef-0db0-4012-9246-e08a6561413e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 363b22ef-0db0-4012-9246-e08a6561413e --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 363b22ef-0db0-4012-9246-e08a6561413e --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} = 363b22ef-0db0-4012-9246-e08a6561413e basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3e329b67-14cc-4404-8763-d1fbe466e67a --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_16 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_16 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a0245fc3-c40b-4ce2-81cf-79ab8178d998 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | 12b83613-3490-4c72-9f83-709f7c00a4fb | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 93711f1c-f4cd-4b92-8863-fffe9abf25f4 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | simple_requires-1-1-flv | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 0 ${stdout} = basic_16 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 == basic_16 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-16] Advanced onboarding with override and complex scaling (3 initial instances, scaled by two). '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 645d8af9-3e99-4201-b55d-7bfd6558c899 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 645d8af9-3e99-4201-b55d-7bfd6558c899 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 8fa052d3-b843-4baa-bc0f-f6cf5738b3e1 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8fa052d3-b843-4baa-bc0f-f6cf5738b3e1 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 9d0d0ad8-8a0a-4a52-8d4d-4bdcb2eab086 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9d0d0ad8-8a0a-4a52-8d4d-4bdcb2eab086 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 ac861c39-6aa7-4558-9cff-1aa2f792fb69 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ac861c39-6aa7-4558-9cff-1aa2f792fb69 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} = 10399c77-e73d-44e8-accd-137ae36352e1 ${stdout} Logs the given message with the given level. 10399c77-e73d-44e8-accd-137ae36352e1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 10399c77-e73d-44e8-accd-137ae36352e1 ${ns_id} Logs the given message with the given level. 10399c77-e73d-44e8-accd-137ae36352e1 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | BUILDING | INSTANTIATING (754a5d3b-b531-480c-886e-2fbeaa83e285) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | BUILDING | INSTANTIATING (754a5d3b-b531-480c-886e-2fbeaa83e285) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | f86ed7b3-cc13-4e8e-827f-2e8dad749ccd | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cc1f6968-487f-4a0e-9577-e061fb119a2a | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | BUILDING | INSTANTIATING (754a5d3b-b531-480c-886e-2fbeaa83e285) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | BUILDING | INSTANTIATING (754a5d3b-b531-480c-886e-2fbeaa83e285) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | f86ed7b3-cc13-4e8e-827f-2e8dad749ccd | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.28; basic_18-datanet2=192.168.20.95; basic_18-datanet3=192.168.30.112; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cc1f6968-487f-4a0e-9577-e061fb119a2a | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.216; basic_18-datanet2=192.168.20.174; basic_18-datanet3=192.168.30.37; osm-ext=172.21.248.229 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | f86ed7b3-cc13-4e8e-827f-2e8dad749ccd | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.28; basic_18-datanet2=192.168.20.95; basic_18-datanet3=192.168.30.112; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cc1f6968-487f-4a0e-9577-e061fb119a2a | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.216; basic_18-datanet2=192.168.20.174; basic_18-datanet3=192.168.30.37; osm-ext=172.21.248.229 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 10399c77-e73d-44e8-accd-137ae36352e1 | 2024-03-29T02:13:42 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 10399c77-e73d-44e8-accd-137ae36352e1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 10399c77-e73d-44e8-accd-137ae36352e1 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 10399c77-e73d-44e8-accd-137ae36352e1 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8a332802-e112-4e27-8084-c10f73b1b333 763660af-e062-4ece-bbb4-87146eca9c63 ${rc} ${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} = [ 8a332802-e112-4e27-8084-c10f73b1b333 | 763660af-e062-4ece-bbb4-87146eca9c63 ] @{vnfr_list} = [ 8a332802-e112-4e27-8084-c10f73b1b333 | 763660af-e062-4ece-bbb4-87146eca9c63 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 8a332802-e112-4e27-8084-c10f73b1b333 1: 763660af-e062-4ece-bbb4-87146eca9c63 ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = 8a332802-e112-4e27-8084-c10f73b1b333 ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = 763660af-e062-4ece-bbb4-87146eca9c63 ${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 10399c77-e73d-44e8-accd-137ae36352e1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.229 ${stdout} Logs the given message with the given level. 172.21.248.229 ${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.229 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.248.229 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.248.229 ${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 10399c77-e73d-44e8-accd-137ae36352e1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.148 ${stdout} Logs the given message with the given level. 172.21.248.148 ${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.148 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.248.148 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.248.148 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 8a332802-e112-4e27-8084-c10f73b1b333 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.216 ${rc} ${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.216 ${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 8a332802-e112-4e27-8084-c10f73b1b333 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.174 ${rc} ${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.174 ${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 8a332802-e112-4e27-8084-c10f73b1b333 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.37 ${rc} ${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.37 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 763660af-e062-4ece-bbb4-87146eca9c63 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.28 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${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.28 ${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 763660af-e062-4ece-bbb4-87146eca9c63 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.95 ${rc} ${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.95 ${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 763660af-e062-4ece-bbb4-87146eca9c63 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.112 ${rc} ${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.112 basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 10 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 10 seconds Wait for SSH daemon to be up ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.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 Fri Mar 29 02:15:18 UTC 2024 System load: 0.45 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.229 Memory usage: 10% IPv4 address for ens4: 192.168.10.216 Swap usage: 0% IPv4 address for ens5: 192.168.20.174 Processes: 109 IPv4 address for ens6: 192.168.30.37 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.248.229/22 192.168.10.216/24 192.168.20.174/24 192.168.30.37/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.248.229/22 192.168.10.216/24 192.168.20.174/24 192.168.30.37/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.248.229/22 192.168.10.216/24 192.168.20.174/24 192.168.30.37/24 ${stdout} Logs the given message with the given level. 172.21.248.229/22 192.168.10.216/24 192.168.20.174/24 192.168.30.37/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.229/22 | 192.168.10.216/24 | 192.168.20.174/24 | 192.168.30.37/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf2_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.148: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 Fri Mar 29 02:15:21 UTC 2024 System load: 0.22 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.148 Memory usage: 10% IPv4 address for ens4: 192.168.10.28 Swap usage: 0% IPv4 address for ens5: 192.168.20.95 Processes: 110 IPv4 address for ens6: 192.168.30.112 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.248.148/22 192.168.10.28/24 192.168.20.95/24 192.168.30.112/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.248.148/22 192.168.10.28/24 192.168.20.95/24 192.168.30.112/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.248.148/22 192.168.10.28/24 192.168.20.95/24 192.168.30.112/24 ${stdout} Logs the given message with the given level. 172.21.248.148/22 192.168.10.28/24 192.168.20.95/24 192.168.30.112/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.148/22 | 192.168.10.28/24 | 192.168.20.95/24 | 192.168.30.112/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.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 Fri Mar 29 02:15:23 UTC 2024 System load: 0.41 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.229 Memory usage: 10% IPv4 address for ens4: 192.168.10.216 Swap usage: 0% IPv4 address for ens5: 192.168.20.174 Processes: 109 IPv4 address for ens6: 192.168.30.37 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: Fri Mar 29 02:15:19 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.248.148'. 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:7e:0e:54 brd ff:ff:ff:ff:ff:ff inet 172.21.248.229/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86347sec preferred_lft 86347sec inet6 fe80::f816:3eff:fe7e:e54/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:1e:9c:ee brd ff:ff:ff:ff:ff:ff inet 192.168.10.216/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe1e:9cee/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:3e:d5:03 brd ff:ff:ff:ff:ff:ff inet 192.168.20.174/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe3e:d503/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:ee:2a:6f brd ff:ff:ff:ff:ff:ff inet 192.168.30.37/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:feee:2a6f/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.148 (172.21.248.148) 56(84) bytes of data. 64 bytes from 172.21.248.148: icmp_seq=1 ttl=64 time=2.42 ms 64 bytes from 172.21.248.148: icmp_seq=2 ttl=64 time=0.614 ms 64 bytes from 172.21.248.148: icmp_seq=3 ttl=64 time=0.532 ms 64 bytes from 172.21.248.148: icmp_seq=4 ttl=64 time=0.596 ms 64 bytes from 172.21.248.148: icmp_seq=5 ttl=64 time=0.586 ms --- 172.21.248.148 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.532/0.950/2.422/0.736 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:7e:0e:54 brd ff:ff:ff:ff:ff:ff inet 172.21.248.229/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86347sec preferred_lft 86347sec inet6 fe80::f816:3eff:fe7e:e54/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:1e:9c:ee brd ff:ff:ff:ff:ff:ff inet 192.168.10.216/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe1e:9cee/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:3e:d5:03 brd ff:ff:ff:ff:ff:ff inet 192.168.20.174/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe3e:d503/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:ee:2a:6f brd ff:ff:ff:ff:ff:ff inet 192.168.30.37/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:feee:2a6f/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.148 (172.21.248.148) 56(84) bytes of data. 64 bytes from 172.21.248.148: icmp_seq=1 ttl=64 time=2.42 ms 64 bytes from 172.21.248.148: icmp_seq=2 ttl=64 time=0.614 ms 64 bytes from 172.21.248.148: icmp_seq=3 ttl=64 time=0.532 ms 64 bytes from 172.21.248.148: icmp_seq=4 ttl=64 time=0.596 ms 64 bytes from 172.21.248.148: icmp_seq=5 ttl=64 time=0.586 ms --- 172.21.248.148 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.532/0.950/2.422/0.736 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.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 Fri Mar 29 02:15:29 UTC 2024 System load: 0.38 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.229 Memory usage: 10% IPv4 address for ens4: 192.168.10.216 Swap usage: 0% IPv4 address for ens5: 192.168.20.174 Processes: 109 IPv4 address for ens6: 192.168.30.37 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: Fri Mar 29 02:15:23 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-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.28'. Command exited with return code 0. ${stdout} = PING 192.168.10.28 (192.168.10.28) 56(84) bytes of data. 64 bytes from 192.168.10.28: icmp_seq=1 ttl=64 time=2.06 ms 64 bytes from 192.168.10.28: icmp_seq=2 ttl=64 time=0.656 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.28 (192.168.10.28) 56(84) bytes of data. 64 bytes from 192.168.10.28: icmp_seq=1 ttl=64 time=2.06 ms 64 bytes from 192.168.10.28: icmp_seq=2 ttl=64 time=0.656 ms 64 bytes from 192.168.10.28: icmp_seq=3 ttl=64 time=0.672 ms 64 bytes from 192.168.10.28: icmp_seq=4 ttl=64 time=0.722 ms 64 bytes from 192.168.10.28: icmp_seq=5 ttl=64 time=0.602 ms --- 192.168.10.28 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4031ms rtt min/avg/max/mdev = 0.602/0.941/2.055/0.558 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.28 (192.168.10.28) 56(84) bytes of data. 64 bytes from 192.168.10.28: icmp_seq=1 ttl=64 time=2.06 ms 64 bytes from 192.168.10.28: icmp_seq=2 ttl=64 time=0.656 ms 64 bytes from 192.168.... ${stdout} Logs the given message with the given level. PING 192.168.10.28 (192.168.10.28) 56(84) bytes of data. 64 bytes from 192.168.10.28: icmp_seq=1 ttl=64 time=2.06 ms 64 bytes from 192.168.10.28: icmp_seq=2 ttl=64 time=0.656 ms 64 bytes from 192.168.10.28: icmp_seq=3 ttl=64 time=0.672 ms 64 bytes from 192.168.10.28: icmp_seq=4 ttl=64 time=0.722 ms 64 bytes from 192.168.10.28: icmp_seq=5 ttl=64 time=0.602 ms --- 192.168.10.28 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4031ms rtt min/avg/max/mdev = 0.602/0.941/2.055/0.558 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.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 Fri Mar 29 02:15:35 UTC 2024 System load: 0.35 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.229 Memory usage: 10% IPv4 address for ens4: 192.168.10.216 Swap usage: 0% IPv4 address for ens5: 192.168.20.174 Processes: 109 IPv4 address for ens6: 192.168.30.37 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: Fri Mar 29 02:15:29 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.95'. Command exited with return code 0. ${stdout} = PING 192.168.20.95 (192.168.20.95) 56(84) bytes of data. 64 bytes from 192.168.20.95: icmp_seq=1 ttl=64 time=2.00 ms 64 bytes from 192.168.20.95: icmp_seq=2 ttl=64 time=0.816 ms 64 bytes from 192.168.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.20.95 (192.168.20.95) 56(84) bytes of data. 64 bytes from 192.168.20.95: icmp_seq=1 ttl=64 time=2.00 ms 64 bytes from 192.168.20.95: icmp_seq=2 ttl=64 time=0.816 ms 64 bytes from 192.168.20.95: icmp_seq=3 ttl=64 time=0.670 ms 64 bytes from 192.168.20.95: icmp_seq=4 ttl=64 time=0.618 ms 64 bytes from 192.168.20.95: icmp_seq=5 ttl=64 time=0.802 ms --- 192.168.20.95 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.618/0.981/2.001/0.515 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.95 (192.168.20.95) 56(84) bytes of data. 64 bytes from 192.168.20.95: icmp_seq=1 ttl=64 time=2.00 ms 64 bytes from 192.168.20.95: icmp_seq=2 ttl=64 time=0.816 ms 64 bytes from 192.168.... ${stdout} Logs the given message with the given level. PING 192.168.20.95 (192.168.20.95) 56(84) bytes of data. 64 bytes from 192.168.20.95: icmp_seq=1 ttl=64 time=2.00 ms 64 bytes from 192.168.20.95: icmp_seq=2 ttl=64 time=0.816 ms 64 bytes from 192.168.20.95: icmp_seq=3 ttl=64 time=0.670 ms 64 bytes from 192.168.20.95: icmp_seq=4 ttl=64 time=0.618 ms 64 bytes from 192.168.20.95: icmp_seq=5 ttl=64 time=0.802 ms --- 192.168.20.95 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4054ms rtt min/avg/max/mdev = 0.618/0.981/2.001/0.515 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.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 Fri Mar 29 02:15:40 UTC 2024 System load: 0.29 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.229 Memory usage: 10% IPv4 address for ens4: 192.168.10.216 Swap usage: 0% IPv4 address for ens5: 192.168.20.174 Processes: 106 IPv4 address for ens6: 192.168.30.37 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: Fri Mar 29 02:15:35 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.112'. Command exited with return code 0. ${stdout} = PING 192.168.30.112 (192.168.30.112) 56(84) bytes of data. 64 bytes from 192.168.30.112: icmp_seq=1 ttl=64 time=2.40 ms 64 bytes from 192.168.30.112: icmp_seq=2 ttl=64 time=0.739 ms 64 bytes from 192.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.30.112 (192.168.30.112) 56(84) bytes of data. 64 bytes from 192.168.30.112: icmp_seq=1 ttl=64 time=2.40 ms 64 bytes from 192.168.30.112: icmp_seq=2 ttl=64 time=0.739 ms 64 bytes from 192.168.30.112: icmp_seq=3 ttl=64 time=0.642 ms 64 bytes from 192.168.30.112: icmp_seq=4 ttl=64 time=0.588 ms 64 bytes from 192.168.30.112: icmp_seq=5 ttl=64 time=0.843 ms --- 192.168.30.112 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4058ms rtt min/avg/max/mdev = 0.588/1.041/2.395/0.682 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.112 (192.168.30.112) 56(84) bytes of data. 64 bytes from 192.168.30.112: icmp_seq=1 ttl=64 time=2.40 ms 64 bytes from 192.168.30.112: icmp_seq=2 ttl=64 time=0.739 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.30.112 (192.168.30.112) 56(84) bytes of data. 64 bytes from 192.168.30.112: icmp_seq=1 ttl=64 time=2.40 ms 64 bytes from 192.168.30.112: icmp_seq=2 ttl=64 time=0.739 ms 64 bytes from 192.168.30.112: icmp_seq=3 ttl=64 time=0.642 ms 64 bytes from 192.168.30.112: icmp_seq=4 ttl=64 time=0.588 ms 64 bytes from 192.168.30.112: icmp_seq=5 ttl=64 time=0.843 ms --- 192.168.30.112 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4058ms rtt min/avg/max/mdev = 0.588/1.041/2.395/0.682 ms basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.148: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 Fri Mar 29 02:15:46 UTC 2024 System load: 0.32 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.148 Memory usage: 10% IPv4 address for ens4: 192.168.10.28 Swap usage: 0% IPv4 address for ens5: 192.168.20.95 Processes: 107 IPv4 address for ens6: 192.168.30.112 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: Fri Mar 29 02:15:22 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.248.229'. 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86331sec preferred_lft 86331sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.229 (172.21.248.229) 56(84) bytes of data. 64 bytes from 172.21.248.229: icmp_seq=1 ttl=64 time=1.54 ms 64 bytes from 172.21.248.229: icmp_seq=2 ttl=64 time=0.537 ms 64 bytes from 172.21.248.229: icmp_seq=3 ttl=64 time=0.540 ms 64 bytes from 172.21.248.229: icmp_seq=4 ttl=64 time=0.568 ms 64 bytes from 172.21.248.229: icmp_seq=5 ttl=64 time=0.744 ms --- 172.21.248.229 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.537/0.785/1.537/0.383 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86331sec preferred_lft 86331sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.229 (172.21.248.229) 56(84) bytes of data. 64 bytes from 172.21.248.229: icmp_seq=1 ttl=64 time=1.54 ms 64 bytes from 172.21.248.229: icmp_seq=2 ttl=64 time=0.537 ms 64 bytes from 172.21.248.229: icmp_seq=3 ttl=64 time=0.540 ms 64 bytes from 172.21.248.229: icmp_seq=4 ttl=64 time=0.568 ms 64 bytes from 172.21.248.229: icmp_seq=5 ttl=64 time=0.744 ms --- 172.21.248.229 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.537/0.785/1.537/0.383 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.148: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 Fri Mar 29 02:15:52 UTC 2024 System load: 0.29 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.148 Memory usage: 10% IPv4 address for ens4: 192.168.10.28 Swap usage: 0% IPv4 address for ens5: 192.168.20.95 Processes: 110 IPv4 address for ens6: 192.168.30.112 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: Fri Mar 29 02:15:47 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.10.216'. 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86325sec preferred_lft 86325sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.216 (192.168.10.216) 56(84) bytes of data. 64 bytes from 192.168.10.216: icmp_seq=1 ttl=64 time=1.29 ms 64 bytes from 192.168.10.216: icmp_seq=2 ttl=64 time=2.75 ms 64 bytes from 192.168.10.216: icmp_seq=3 ttl=64 time=0.593 ms 64 bytes from 192.168.10.216: icmp_seq=4 ttl=64 time=0.675 ms 64 bytes from 192.168.10.216: icmp_seq=5 ttl=64 time=0.742 ms --- 192.168.10.216 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4032ms rtt min/avg/max/mdev = 0.593/1.208/2.746/0.806 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86325sec preferred_lft 86325sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.216 (192.168.10.216) 56(84) bytes of data. 64 bytes from 192.168.10.216: icmp_seq=1 ttl=64 time=1.29 ms 64 bytes from 192.168.10.216: icmp_seq=2 ttl=64 time=2.75 ms 64 bytes from 192.168.10.216: icmp_seq=3 ttl=64 time=0.593 ms 64 bytes from 192.168.10.216: icmp_seq=4 ttl=64 time=0.675 ms 64 bytes from 192.168.10.216: icmp_seq=5 ttl=64 time=0.742 ms --- 192.168.10.216 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4032ms rtt min/avg/max/mdev = 0.593/1.208/2.746/0.806 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.148: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 Fri Mar 29 02:15:58 UTC 2024 System load: 0.27 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.148 Memory usage: 10% IPv4 address for ens4: 192.168.10.28 Swap usage: 0% IPv4 address for ens5: 192.168.20.95 Processes: 110 IPv4 address for ens6: 192.168.30.112 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: Fri Mar 29 02:15:53 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.20.174'. 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86319sec preferred_lft 86319sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.174 (192.168.20.174) 56(84) bytes of data. 64 bytes from 192.168.20.174: icmp_seq=1 ttl=64 time=1.80 ms 64 bytes from 192.168.20.174: icmp_seq=2 ttl=64 time=0.607 ms 64 bytes from 192.168.20.174: icmp_seq=3 ttl=64 time=0.579 ms 64 bytes from 192.168.20.174: icmp_seq=4 ttl=64 time=0.651 ms 64 bytes from 192.168.20.174: icmp_seq=5 ttl=64 time=0.620 ms --- 192.168.20.174 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4076ms rtt min/avg/max/mdev = 0.579/0.851/1.800/0.474 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86319sec preferred_lft 86319sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.174 (192.168.20.174) 56(84) bytes of data. 64 bytes from 192.168.20.174: icmp_seq=1 ttl=64 time=1.80 ms 64 bytes from 192.168.20.174: icmp_seq=2 ttl=64 time=0.607 ms 64 bytes from 192.168.20.174: icmp_seq=3 ttl=64 time=0.579 ms 64 bytes from 192.168.20.174: icmp_seq=4 ttl=64 time=0.651 ms 64 bytes from 192.168.20.174: icmp_seq=5 ttl=64 time=0.620 ms --- 192.168.20.174 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4076ms rtt min/avg/max/mdev = 0.579/0.851/1.800/0.474 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.148: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 Fri Mar 29 02:16:04 UTC 2024 System load: 0.25 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.148 Memory usage: 10% IPv4 address for ens4: 192.168.10.28 Swap usage: 0% IPv4 address for ens5: 192.168.20.95 Processes: 110 IPv4 address for ens6: 192.168.30.112 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: Fri Mar 29 02:15:58 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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.37'. 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86314sec preferred_lft 86314sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.37 (192.168.30.37) 56(84) bytes of data. 64 bytes from 192.168.30.37: icmp_seq=1 ttl=64 time=1.54 ms 64 bytes from 192.168.30.37: icmp_seq=2 ttl=64 time=0.616 ms 64 bytes from 192.168.30.37: icmp_seq=3 ttl=64 time=0.666 ms 64 bytes from 192.168.30.37: icmp_seq=4 ttl=64 time=0.549 ms 64 bytes from 192.168.30.37: icmp_seq=5 ttl=64 time=0.513 ms --- 192.168.30.37 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4078ms rtt min/avg/max/mdev = 0.513/0.777/1.544/0.386 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:29:e7:e8 brd ff:ff:ff:ff:ff:ff inet 172.21.248.148/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86314sec preferred_lft 86314sec inet6 fe80::f816:3eff:fe29:e7e8/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:42:8e:9c brd ff:ff:ff:ff:ff:ff inet 192.168.10.28/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe42:8e9c/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:6f:58:c9 brd ff:ff:ff:ff:ff:ff inet 192.168.20.95/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe6f:58c9/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:16:e5:43 brd ff:ff:ff:ff:ff:ff inet 192.168.30.112/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe16:e543/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.37 (192.168.30.37) 56(84) bytes of data. 64 bytes from 192.168.30.37: icmp_seq=1 ttl=64 time=1.54 ms 64 bytes from 192.168.30.37: icmp_seq=2 ttl=64 time=0.616 ms 64 bytes from 192.168.30.37: icmp_seq=3 ttl=64 time=0.666 ms 64 bytes from 192.168.30.37: icmp_seq=4 ttl=64 time=0.549 ms 64 bytes from 192.168.30.37: icmp_seq=5 ttl=64 time=0.513 ms --- 192.168.30.37 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4078ms rtt min/avg/max/mdev = 0.513/0.777/1.544/0.386 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 | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | BUILD | | ubuntu22.04 | osm.sanity | | f86ed7b3-cc13-4e8e-827f-2e8dad749ccd | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.28; basic_18-datanet2=192.168.20.95; basic_18-datanet3=192.168.30.112; osm-ext=172.21.248.148 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | cc1f6968-487f-4a0e-9577-e061fb119a2a | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.216; basic_18-datanet2=192.168.20.174; basic_18-datanet3=192.168.30.37; osm-ext=172.21.248.229 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | f86ed7b3-cc13-4e8e-827f-2e8dad749ccd | basic_18-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 3e3b2d18-8b98-4ed9-b5d2-dbd6c3f5cba0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3e3b2d18-8b98-4ed9-b5d2-dbd6c3f5cba0 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 2b55240a-415a-4bc1-967d-e8f66a640c23 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2b55240a-415a-4bc1-967d-e8f66a640c23 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} = bf0fe099-c04e-4dbb-8493-e1867714c1ad ${stdout} Logs the given message with the given level. bf0fe099-c04e-4dbb-8493-e1867714c1ad ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = bf0fe099-c04e-4dbb-8493-e1867714c1ad ${ns_id} Logs the given message with the given level. bf0fe099-c04e-4dbb-8493-e1867714c1ad ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16:59 | BUILDING | INSTANTIATING (4cc73bd6-f7eb-4804-bbf7-4dc671d1aa6e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16:59 | BUILDING | INSTANTIATING (4cc73bd6-f7eb-4804-bbf7-4dc671d1aa6e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86ec9481-6120-4dbf-b9a2-58727e7166b2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.129 | ubuntu20.04 | simple_requires-1-1-flv | | 6871fe7e-6050-4256-b6c7-97ef792c9984 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16:59 | BUILDING | INSTANTIATING (4cc73bd6-f7eb-4804-bbf7-4dc671d1aa6e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16:59 | BUILDING | INSTANTIATING (4cc73bd6-f7eb-4804-bbf7-4dc671d1aa6e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86ec9481-6120-4dbf-b9a2-58727e7166b2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.129 | ubuntu20.04 | simple_requires-1-1-flv | | 6871fe7e-6050-4256-b6c7-97ef792c9984 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16:59 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86ec9481-6120-4dbf-b9a2-58727e7166b2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.129 | ubuntu20.04 | simple_requires-1-1-flv | | 6871fe7e-6050-4256-b6c7-97ef792c9984 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | bf0fe099-c04e-4dbb-8493-e1867714c1ad | 2024-03-29T02:16: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} = bf0fe099-c04e-4dbb-8493-e1867714c1ad ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = bf0fe099-c04e-4dbb-8493-e1867714c1ad 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 bf0fe099-c04e-4dbb-8493-e1867714c1ad | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b5cc287c-21f0-4162-9d31-200a4d6e7b94 ${rc} ${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} = [ b5cc287c-21f0-4162-9d31-200a4d6e7b94 ] @{vnfr_list} = [ b5cc287c-21f0-4162-9d31-200a4d6e7b94 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: b5cc287c-21f0-4162-9d31-200a4d6e7b94 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = b5cc287c-21f0-4162-9d31-200a4d6e7b94 ${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 bf0fe099-c04e-4dbb-8493-e1867714c1ad | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.38 ${stdout} Logs the given message with the given level. 172.21.249.38 ${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.38 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.249.38 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.249.38 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 b5cc287c-21f0-4162-9d31-200a4d6e7b94 --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.87 ${rc} ${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 b5cc287c-21f0-4162-9d31-200a4d6e7b94 --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.129 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_19 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_19 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86ec9481-6120-4dbf-b9a2-58727e7166b2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.129 | ubuntu20.04 | simple_requires-1-1-flv | | 6871fe7e-6050-4256-b6c7-97ef792c9984 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 0 ${stdout} = basic_19 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 == basic_19 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 115899ac-b664-484c-b32e-b2345fb39862 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 115899ac-b664-484c-b32e-b2345fb39862 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 b171a8b8-37ba-4741-9410-ff4b67feb820 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b171a8b8-37ba-4741-9410-ff4b67feb820 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} = c7aa7b5f-b322-4c8c-81e8-e219f87f9392 ${stdout} Logs the given message with the given level. c7aa7b5f-b322-4c8c-81e8-e219f87f9392 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c7aa7b5f-b322-4c8c-81e8-e219f87f9392 ${ns_id} Logs the given message with the given level. c7aa7b5f-b322-4c8c-81e8-e219f87f9392 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 967968c7-c618-43d5-bc7a-95778355b997 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.52; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 838c254c-bd3a-4436-89ea-e7294fd80539 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.200; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 967968c7-c618-43d5-bc7a-95778355b997 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.52; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 838c254c-bd3a-4436-89ea-e7294fd80539 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.200; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 967968c7-c618-43d5-bc7a-95778355b997 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.52; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 838c254c-bd3a-4436-89ea-e7294fd80539 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.200; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 967968c7-c618-43d5-bc7a-95778355b997 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.52; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 838c254c-bd3a-4436-89ea-e7294fd80539 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.200; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 967968c7-c618-43d5-bc7a-95778355b997 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.52; osm-ext=172.21.248.62 | ubuntu18.04 | simple_requires-1-1-flv | | 838c254c-bd3a-4436-89ea-e7294fd80539 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.110.200; osm-ext=172.21.249.212 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | BUILDING | INSTANTIATING (0a31781c-13ef-4ff8-9cf7-404b373bcc72) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | 2024-03-29T02:18:52 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = c7aa7b5f-b322-4c8c-81e8-e219f87f9392 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c7aa7b5f-b322-4c8c-81e8-e219f87f9392 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 c7aa7b5f-b322-4c8c-81e8-e219f87f9392 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 97bce73a-da37-451a-8a82-3f1057197797 ${rc} ${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} = [ 97bce73a-da37-451a-8a82-3f1057197797 ] @{vnfr_list} = [ 97bce73a-da37-451a-8a82-3f1057197797 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 97bce73a-da37-451a-8a82-3f1057197797 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 97bce73a-da37-451a-8a82-3f1057197797 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 97bce73a-da37-451a-8a82-3f1057197797 --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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 ${rc} ${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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 ] @{name_list} = [ app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 ] ${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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg 1: app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg', 'app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9'] 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} = a1aead96-67f8-474e-a70c-d49e8293f17c ${rc} ${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 a1aead96-67f8-474e-a70c-d49e8293f17c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a1aead96-67f8-474e-a70c-d49e8293f17c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a1aead96-67f8-474e-a70c-d49e8293f17c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a1aead96-67f8-474e-a70c-d49e8293f17c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a1aead96-67f8-474e-a70c-d49e8293f17c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a1aead96-67f8-474e-a70c-d49e8293f17c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a1aead96-67f8-474e-a70c-d49e8293f17c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = FAILED ${stdout} Logs the given message with the given level. FAILED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED 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 a1aead96-67f8-474e-a70c-d49e8293f17c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = FAILED ${stdout} Logs the given message with the given level. FAILED ${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. The ns-action with id a1aead96-67f8-474e-a70c-d49e8293f17c was not completed basic_20 cluster_main daily regression The ns-action with id a1aead96-67f8-474e-a70c-d49e8293f17c was not completed ${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 97bce73a-da37-451a-8a82-3f1057197797 --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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 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'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 | null ] @{name_list} = [ app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 | null ] ${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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg 1: app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 2: null ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg', 'app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9', 'null'] 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} = 77a45fe9-9365-4bd1-8df6-a302f33af161 ${rc} ${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 77a45fe9-9365-4bd1-8df6-a302f33af161 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = FAILED ${stdout} Logs the given message with the given level. FAILED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED 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 77a45fe9-9365-4bd1-8df6-a302f33af161 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = FAILED ${stdout} Logs the given message with the given level. FAILED ${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. The ns-action with id 77a45fe9-9365-4bd1-8df6-a302f33af161 was not completed basic_20 cluster_main daily regression The ns-action with id 77a45fe9-9365-4bd1-8df6-a302f33af161 was not completed ${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 97bce73a-da37-451a-8a82-3f1057197797 --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} 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. msg=There is the same number of VDU records in the VNF after Scale In Fails the test with the given message and optionally alters its tags. There is the same number of VDU records in the VNF after Scale In Check whether there is one less VDU after scaling or not. basic_20 cluster_main daily regression There is the same number of VDU records in the VNF after Scale In @{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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 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'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 | null ] @{name_list} = [ app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg | app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 | null ] ${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-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg 1: app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9 2: null ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dx9lg', 'app-vnf-z1057197797-z0-vdu-mgmtvm-cnt-z0-dbjb9', 'null'] 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} != 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. msg=There are not 2 application name in the application list after Scale In Fails the test with the given message and optionally alters its tags. There are not 2 application name in the application list after Scale In Check the application names if there are 2 application name in the application list. basic_20 cluster_main daily regression There are not 2 application name in the application list after Scale In ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 3042168f-ce9d-4f4c-b97f-d5fe166c43a9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.45.211; osm-ext=172.21.249.142 | ubuntu18.04 | simple_requires-1-1-flv | | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 3042168f-ce9d-4f4c-b97f-d5fe166c43a9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.45.211; osm-ext=172.21.249.142 | ubuntu18.04 | simple_requires-1-1-flv | | 966d1b32-313f-4ae0-8fd1-4e8bbef24d24 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.45.130; osm-ext=172.21.248.216 | ubuntu18.04 | simple_requires-1-1-flv | | 698cc32a-b324-4f21-9262-d03cf4579d5d | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.45.114; osm-ext=172.21.248.138 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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. ${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} = 1 ${stdout} = ERROR: ns 'basic_20_manual_vdu_scaling_test' not found ${stdout} Logs the given message with the given level. ERROR: ns 'basic_20_manual_vdu_scaling_test' 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} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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. 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 native_manual_scale_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ERROR: nsd native_manual_scale_charm-ns 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 native_manual_scale_charm-ns 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 native_manual_scale_charm-ns 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 native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ERROR: vnfd native_manual_scale_charm-vnf not found ${stdout} Logs the given message with the given level. ERROR: vnfd native_manual_scale_charm-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 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] 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 01692b5c-ffb0-4e81-a525-d8d0372dda24 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 01692b5c-ffb0-4e81-a525-d8d0372dda24 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 a800e223-b237-4145-b89a-c329a2b89c5f ${rc} ${success_return_code} Fails if objects are unequal after 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} = a800e223-b237-4145-b89a-c329a2b89c5f 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} = 68a2acb8-336c-459d-846b-2f702300661b ${stdout} Logs the given message with the given level. 68a2acb8-336c-459d-846b-2f702300661b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 68a2acb8-336c-459d-846b-2f702300661b ${ns_id} Logs the given message with the given level. 68a2acb8-336c-459d-846b-2f702300661b ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | BUILDING | INSTANTIATING (33cc40b4-5b7e-487b-982a-a98c4eedd9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | BUILDING | INSTANTIATING (33cc40b4-5b7e-487b-982a-a98c4eedd9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5b664a31-729d-4b42-9ada-43038c9c3e1f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | several_volumes-VM-flv | | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | BUILDING | INSTANTIATING (33cc40b4-5b7e-487b-982a-a98c4eedd9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | BUILDING | INSTANTIATING (33cc40b4-5b7e-487b-982a-a98c4eedd9cb) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5b664a31-729d-4b42-9ada-43038c9c3e1f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | several_volumes-VM-flv | | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5b664a31-729d-4b42-9ada-43038c9c3e1f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | several_volumes-VM-flv | | f65ae2ad-fd02-492d-9bca-432e0a122f77 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.250; osm-ext=172.21.248.240 | ubuntu18.04 | simple_requires-1-1-flv | | 913f5a83-2397-490e-b546-cfd232c2c930 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.200.243; osm-ext=172.21.248.220 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 68a2acb8-336c-459d-846b-2f702300661b | 2024-03-29T02:25:17 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 68a2acb8-336c-459d-846b-2f702300661b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 68a2acb8-336c-459d-846b-2f702300661b 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 68a2acb8-336c-459d-846b-2f702300661b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.109 ${stdout} Logs the given message with the given level. 172.21.249.109 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.109 ${ip_addr} Logs the given message with the given level. 172.21.249.109 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.109 basic_21 cluster_main daily regression verify ${vnf_ip_addr} msg=VNF is not available Fails unless the given variable exists within the current scope. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${vnf_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.109:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 02:27:03 UTC 2024 System load: 0.36 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.109 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-21-vnf-several-volu-several-volumes-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo lsblk -l'. Command exited with return code 0. ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${lines} ${stdout} disk Returns lines of the given ``string`` that contain the ``pattern``. 3 out of 10 lines matched ${lines} = vda 252:0 0 10G 0 disk vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${num_lines} ${lines} Returns and logs the number of lines in the given string. 3 lines ${num_lines} = 3 ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) Runs the given keyword with the given arguments, if ``condition`` is true. basic_21 cluster_main daily regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_21 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 5b664a31-729d-4b42-9ada-43038c9c3e1f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.109 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 0 ${stdout} = basic_21 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 == basic_21 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 7cd05904-753d-4ba5-a1cb-4fb2903ee2a7 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7cd05904-753d-4ba5-a1cb-4fb2903ee2a7 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 e7d73ae9-3670-4ceb-a746-f541857c7805 ${rc} ${success_return_code} Fails if objects are unequal after 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} = e7d73ae9-3670-4ceb-a746-f541857c7805 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 d9457592-079e-49f8-a85e-eec118c9cfed ${rc} ${success_return_code} Fails if objects are unequal after 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} = d9457592-079e-49f8-a85e-eec118c9cfed 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} = ab07d069-017d-41f9-b252-43b35e39b06f ${stdout} Logs the given message with the given level. ab07d069-017d-41f9-b252-43b35e39b06f ${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 | ab07d069-017d-41f9-b252-43b35e39b06f | 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 | ab07d069-017d-41f9-b252-43b35e39b06f | 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 | "ab07d069-017d-41f9-b252-43b35e39b06f" | | name | "k8sbasic_22" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711679261.2960825, | | | "modified": 1711679266.689882, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711679261.296125, | | | "statusEnteredTime": 1711679261.296125, | | | "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": "ab07d069-017d-41f9-b252-43b35e39b06f", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "ab07d069-017d-41f9-b252-43b35e39b06f", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "ab07d069-017d-41f9-b252-43b35e39b06f", | | | "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 | ab07d069-017d-41f9-b252-43b35e39b06f | 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 | ab07d069-017d-41f9-b252-43b35e39b06f | 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} = 442a39fd-48a2-481d-98b3-829a0ad52725 ${stdout} Logs the given message with the given level. 442a39fd-48a2-481d-98b3-829a0ad52725 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 442a39fd-48a2-481d-98b3-829a0ad52725 ${ns_id} Logs the given message with the given level. 442a39fd-48a2-481d-98b3-829a0ad52725 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | BUILDING | INSTANTIATING (3bda3f92-0bf3-4062-93d6-6a391f98e2ef) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 442a39fd-48a2-481d-98b3-829a0ad52725 | 2024-03-29T02:28:18 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 442a39fd-48a2-481d-98b3-829a0ad52725 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 442a39fd-48a2-481d-98b3-829a0ad52725 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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 577b9a19-f96a-438e-b492-33ba285a32c4 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.232 | ubuntu18.04 | simple_requires-1-1-flv | | 4e184d0b-2ba8-4000-aa4a-13cc3ba8b061 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.48 | ubuntu18.04 | simple_requires-1-1-flv | | 79c7c9d6-5909-478b-8bda-97637042a834 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu18.04 | simple_requires-1-1-flv | | 2449ba45-2d4e-4529-a008-81601b2eb544 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ | 9766f790-6299-4e32-acb8-a130805f8f10 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 0bc6a4aa-9181-4ddd-8023-c8313f566f7f | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.108 | ubuntu18.04 | simple_requires-1-1-flv | | 255bd984-14c7-4a58-9876-a68123c1cc6f | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.57 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ed3b2615-a567-435d-8dbf-e33d8d6a945e | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | BUILD | | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ed3b2615-a567-435d-8dbf-e33d8d6a945e | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.155 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ed3b2615-a567-435d-8dbf-e33d8d6a945e | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.155 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ed3b2615-a567-435d-8dbf-e33d8d6a945e | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.155 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 6e25ea25-ac6c-4e47-9ef0-2a3bbb3d58b3 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6e25ea25-ac6c-4e47-9ef0-2a3bbb3d58b3 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 0faf71... ${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 0faf7185-39e2-4fcb-ab59-1f6200de03b7 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0faf7185-39e2-4fcb-ab59-1f6200de03b7 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 bdd58798-be68-40a9-a730-a13badc6e753 ${rc} ${success_return_code} Fails if objects are unequal after 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} = bdd58798-be68-40a9-a730-a13badc6e753 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 485edd6e-1f88-4f24-a921-34cfbcd8bb54 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 485edd6e-1f88-4f24-a921-34cfbcd8bb54 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} = 41674a24-1a26-4128-937b-9040bccccc47 ${stdout} Logs the given message with the given level. 41674a24-1a26-4128-937b-9040bccccc47 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 41674a24-1a26-4128-937b-9040bccccc47 ${ns_id} Logs the given message with the given level. 41674a24-1a26-4128-937b-9040bccccc47 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | BUILDING | INSTANTIATING (0ea51fb4-502b-469a-a2c9-de07805fc775) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | BUILDING | INSTANTIATING (0ea51fb4-502b-469a-a2c9-de07805fc775) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 1769ff27-53b2-4f96-8f20-dd3d9d54001f | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | BUILDING | INSTANTIATING (0ea51fb4-502b-469a-a2c9-de07805fc775) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | BUILDING | INSTANTIATING (0ea51fb4-502b-469a-a2c9-de07805fc775) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 1769ff27-53b2-4f96-8f20-dd3d9d54001f | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 1769ff27-53b2-4f96-8f20-dd3d9d54001f | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 41674a24-1a26-4128-937b-9040bccccc47 | 2024-03-29T02:36:16 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 41674a24-1a26-4128-937b-9040bccccc47 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 41674a24-1a26-4128-937b-9040bccccc47 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 41674a24-1a26-4128-937b-9040bccccc47 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8ed2e117-b19a-45c9-90e1-2df08dcaa040 ${stdout} Logs the given message with the given level. 8ed2e117-b19a-45c9-90e1-2df08dcaa040 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 8ed2e117-b19a-45c9-90e1-2df08dcaa040 @{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 8ed2e117-b19a-45c9-90e1-2df08dcaa040 --literal | yq '.vdur[].id' 2>&1'. ${rc} = 0 ${stdout} = "2a2c953c-b2c0-4b02-b086-375e5d8c739e" "f4773eda-81d0-448c-945e-123ea1f0a0e0" ${stdout} Logs the given message with the given level. "2a2c953c-b2c0-4b02-b086-375e5d8c739e" "f4773eda-81d0-448c-945e-123ea1f0a0e0" ${rc} ${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} = [ "2a2c953c-b2c0-4b02-b086-375e5d8c739e" | "f4773eda-81d0-448c-945e-123ea1f0a0e0" ] @{vdur_id_list} = [ "2a2c953c-b2c0-4b02-b086-375e5d8c739e" | "f4773eda-81d0-448c-945e-123ea1f0a0e0" ] ${vdur_id} @{vdur_id_list} "2a2c953c-b2c0-4b02-b086-375e5d8c739e" ${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 8ed2e117-b19a-45c9-90e1-2df08dcaa040 --literal | yq '.vdur[] | select(.id == "'"2a2c953c-b2c0-4b02-b086-375e5d8c739e"'")' | 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 8ed2e117-b19a-45c9-90e1-2df08dcaa040 --literal | yq '.vdur[] | select(.id == "'"2a2c953c-b2c0-4b02-b086-375e5d8c739e"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f ${vm_vim_id} Logs the given message with the given level. 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f ${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} = 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f ${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} = ['1769ff27-53b2-4f96-8f20-dd3d9d54001f', '873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f'] ${stdout} Logs the given message with the given level. ['1769ff27-53b2-4f96-8f20-dd3d9d54001f', '873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f'] ${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. "f4773eda-81d0-448c-945e-123ea1f0a0e0" ${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 8ed2e117-b19a-45c9-90e1-2df08dcaa040 --literal | yq '.vdur[] | select(.id == "'"f4773eda-81d0-448c-945e-123ea1f0a0e0"'")' | 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 8ed2e117-b19a-45c9-90e1-2df08dcaa040 --literal | yq '.vdur[] | select(.id == "'"f4773eda-81d0-448c-945e-123ea1f0a0e0"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = 1769ff27-53b2-4f96-8f20-dd3d9d54001f ${vm_vim_id} Logs the given message with the given level. 1769ff27-53b2-4f96-8f20-dd3d9d54001f ${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} = 1769ff27-53b2-4f96-8f20-dd3d9d54001f ${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} = ['1769ff27-53b2-4f96-8f20-dd3d9d54001f', '873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f'] ${stdout} Logs the given message with the given level. ['1769ff27-53b2-4f96-8f20-dd3d9d54001f', '873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f'] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${server_id} Fails if ``container`` does not contain ``item`` one or more times. basic_24 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_24 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+---------------------------------------------------------------------------------+-------------+-----... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ | 94997c67-5ad6-4b1e-aff8-9528dd4a4bf4 | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e719f918-4174-46db-a8d3-59e46775b4a6 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 596e9d75-8a85-43d5-a65a-fea8edc77067 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.9.50; basic_08_disable-internal=192.168.108.52 | ubuntu20.04 | simple_requires-1-1-flv | | 1bbf5600-d870-43c6-94b0-c267029da59a | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.108.59; osm-ext=172.21.249.206 | ubuntu20.04 | simple_requires-1-1-flv | | 1769ff27-53b2-4f96-8f20-dd3d9d54001f | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | 873ebbf9-8a0d-4330-bba9-c24d9ad7ed7f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 0 ${stdout} = basic_24 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 == basic_24 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ | 94997c67-5ad6-4b1e-aff8-9528dd4a4bf4 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.9.9; basic_08_disable-internal=192.168.194.106 | ubuntu20.04 | simple_requires-1-1-flv | | e719f918-4174-46db-a8d3-59e46775b4a6 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.194.249; osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | 596e9d75-8a85-43d5-a65a-fea8edc77067 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.9.50; basic_08_disable-internal=192.168.108.52 | ubuntu20.04 | simple_requires-1-1-flv | | 1bbf5600-d870-43c6-94b0-c267029da59a | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.108.59; osm-ext=172.21.249.206 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 8a02202b-110e-4008-87b9-923f7894fb9e ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8a02202b-110e-4008-87b9-923f7894fb9e ${id} = 8a02202b-110e-4008-87b9-923f7894fb9e ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = 8a02202b-110e-4008-87b9-923f7894fb9e 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 8df153fd-d995-40c2-8fad-515f25c1a7f0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8df153fd-d995-40c2-8fad-515f25c1a7f0 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} = 327722cd-e7a7-496e-9838-8877dc3c927c ${stdout} Logs the given message with the given level. 327722cd-e7a7-496e-9838-8877dc3c927c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 327722cd-e7a7-496e-9838-8877dc3c927c ${ns_id} Logs the given message with the given level. 327722cd-e7a7-496e-9838-8877dc3c927c ${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 | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ | 94997c67-5ad6-4b1e-aff8-9528dd4a4bf4 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.9.9; basic_08_disable-internal=192.168.194.106 | ubuntu20.04 | simple_requires-1-1-flv | | e719f918-4174-46db-a8d3-59e46775b4a6 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.194.249; osm-ext=172.21.248.128 | ubuntu20.04 | simple_requires-1-1-flv | | 596e9d75-8a85-43d5-a65a-fea8edc77067 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.9.50; basic_08_disable-internal=192.168.108.52 | ubuntu20.04 | simple_requires-1-1-flv | | 1bbf5600-d870-43c6-94b0-c267029da59a | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.108.59; osm-ext=172.21.249.206 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 2e409ae9-a89c-4d9c-87d8-f870392981ee | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.214; osm-ext=172.21.248.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0a290364-3d28-484e-ac58-ba1fc04d26fb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.99; osm-ext=172.21.249.191 | ubuntu18.04 | simple_requires-1-1-flv | | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 99add285-797a-4f30-87bf-fb43fc8c889b | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.252 | ubuntu20.04 | simple_requires-1-1-flv | | 2e409ae9-a89c-4d9c-87d8-f870392981ee | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.214; osm-ext=172.21.248.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0a290364-3d28-484e-ac58-ba1fc04d26fb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.99; osm-ext=172.21.249.191 | ubuntu18.04 | simple_requires-1-1-flv | | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | BUILDING | INSTANTIATING (de9b4caa-7ac5-4588-8d1b-773ad60607fc) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 757998fb-deb8-4406-b793-0fe113dcf715 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.232 | ubuntu20.04 | simple_requires-1-1-flv | | 99add285-797a-4f30-87bf-fb43fc8c889b | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.252 | ubuntu20.04 | simple_requires-1-1-flv | | 2e409ae9-a89c-4d9c-87d8-f870392981ee | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.214; osm-ext=172.21.248.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0a290364-3d28-484e-ac58-ba1fc04d26fb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.99; osm-ext=172.21.249.191 | ubuntu18.04 | simple_requires-1-1-flv | | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 757998fb-deb8-4406-b793-0fe113dcf715 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.232 | ubuntu20.04 | simple_requires-1-1-flv | | 99add285-797a-4f30-87bf-fb43fc8c889b | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.252 | ubuntu20.04 | simple_requires-1-1-flv | | 2e409ae9-a89c-4d9c-87d8-f870392981ee | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.214; osm-ext=172.21.248.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0a290364-3d28-484e-ac58-ba1fc04d26fb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.49.99; osm-ext=172.21.249.191 | ubuntu18.04 | simple_requires-1-1-flv | | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter 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 | 327722cd-e7a7-496e-9838-8877dc3c927c | 2024-03-29T02:38:16 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 327722cd-e7a7-496e-9838-8877dc3c927c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 327722cd-e7a7-496e-9838-8877dc3c927c 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 327722cd-e7a7-496e-9838-8877dc3c927c | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e671c996-78c0-44e6-a02c-19107df67b13 ${stdout} Logs the given message with the given level. e671c996-78c0-44e6-a02c-19107df67b13 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e671c996-78c0-44e6-a02c-19107df67b13 ${id} Logs the given message with the given level. e671c996-78c0-44e6-a02c-19107df67b13 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = e671c996-78c0-44e6-a02c-19107df67b13 ${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: "e671c996-78c0-44e6-a02c-19107df67b13", vnfdId: "8a02202b-110e-4008-87b9-923f7894fb9e"}]}' 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 327722cd-e7a7-496e-9838-8877dc3c927c | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.130 ${stdout} Logs the given message with the given level. 172.21.249.130 ${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.130 ${ip_addr} Logs the given message with the given level. 172.21.249.130 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.130 basic_25 cluster_ee_config daily regression ${vnf_ip_addr} msg=IP address of the management VNF '${vnf_member_index}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.130: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 Fri Mar 29 02:41:06 UTC 2024 System load: 0.13 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.130 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.130: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 Fri Mar 29 02:41:08 UTC 2024 System load: 0.12 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.130 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: Fri Mar 29 02:41:06 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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} = c344cf7f-3952-47ef-9623-7710b568a018 ${rc} ${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 c344cf7f-3952-47ef-9623-7710b568a018 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c344cf7f-3952-47ef-9623-7710b568a018 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c344cf7f-3952-47ef-9623-7710b568a018 --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 c344cf7f-3952-47ef-9623-7710b568a018 --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} = c344cf7f-3952-47ef-9623-7710b568a018 Performs one Day 2 operation on the VNF that creates a new file. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.130: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 Fri Mar 29 02:41:29 UTC 2024 System load: 0.08 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.130 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: Fri Mar 29 02:41:08 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-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 327722cd-e7a7-496e-9838-8877dc3c927c --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "e671c996-78c0-44e6-a02c-19107df67b13", vnfdId: "8a02202b-110e-4008-87b9-923f7894fb9e"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done f39de844-fcd1-41f6-9b6c-5f8afafca48b ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done f39de844-fcd1-41f6-9b6c-5f8afafca48b ${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} = e584ea9b-439e-46e0-a051-587c525f5af3 ${rc} ${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 e584ea9b-439e-46e0-a051-587c525f5af3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id e584ea9b-439e-46e0-a051-587c525f5af3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e584ea9b-439e-46e0-a051-587c525f5af3 --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 e584ea9b-439e-46e0-a051-587c525f5af3 --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} = e584ea9b-439e-46e0-a051-587c525f5af3 Performs one Day 2 operation on the updated VNF that creates a new folder. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_2_folder_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.130: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 Fri Mar 29 02:42:04 UTC 2024 System load: 0.04 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.130 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: Fri Mar 29 02:41: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-25-charm-u-vnf1-mgmtvm-0:~$ ${output} ls -d ${folder} Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls -d /home/ubuntu/myfolder1'. Command exited with return code 0. ${output} = /home/ubuntu/myfolder1 Closes all open connections. ${output} ${folder} Fails if objects are unequal after converting them to strings. Check whether the folder created in the previous test via Day 2 operations exist or not. basic_25 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 11286ef8-c456-4ce0-bf82-2eb082dbfe4f | basic_16-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 2e409ae9-a89c-4d9c-87d8-f870392981ee | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.236 | ubuntu18.04 | simple_requires-1-1-flv | | 0a290364-3d28-484e-ac58-ba1fc04d26fb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.191 | ubuntu18.04 | simple_requires-1-1-flv | | da636a33-839c-4426-ba11-24df3df542fa | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.237; osm-ext=172.21.248.230 | ubuntu18.04 | simple_requires-1-1-flv | | d7887e76-2648-4971-98ac-adf723528447 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.242.28; osm-ext=172.21.249.130 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 306c31d2-ffad-47b1-b183-94d023bb7806 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.171 | ubuntu20.04 | simple_requires-1-1-flv | | 59647f9b-c934-4c62-a7fb-d04c2e6ad917 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 11286ef8-c456-4ce0-bf82-2eb082dbfe4f | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 306c31d2-ffad-47b1-b183-94d023bb7806 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.171 | ubuntu20.04 | simple_requires-1-1-flv | | 59647f9b-c934-4c62-a7fb-d04c2e6ad917 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 11286ef8-c456-4ce0-bf82-2eb082dbfe4f | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 1ee2e088-eac9-40f0-8c30-391a8fcd87d8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1ee2e088-eac9-40f0-8c30-391a8fcd87d8 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 3f146f56-a7a2-4f2b-8e9c-c80f2a21b84d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3f146f56-a7a2-4f2b-8e9c-c80f2a21b84d 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} = 78d0047e-29cf-4d66-b227-b1e9732a55db ${stdout} Logs the given message with the given level. 78d0047e-29cf-4d66-b227-b1e9732a55db ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 78d0047e-29cf-4d66-b227-b1e9732a55db ${ns_id} Logs the given message with the given level. 78d0047e-29cf-4d66-b227-b1e9732a55db ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | fb18f772-510e-408b-b615-540359d4beb1 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.249.99 | ubuntu20.04 | simple_requires-1-1-flv | | 3bc1ef96-0836-4f9b-ab1b-47f95806169a | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.18 | ubuntu20.04 | simple_requires-1-1-flv | | 306c31d2-ffad-47b1-b183-94d023bb7806 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.171 | ubuntu20.04 | simple_requires-1-1-flv | | 59647f9b-c934-4c62-a7fb-d04c2e6ad917 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 11286ef8-c456-4ce0-bf82-2eb082dbfe4f | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42:56 | BUILDING | INSTANTIATING (7d02e21d-86f5-445e-b966-442b255bb4a7) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42:56 | BUILDING | INSTANTIATING (7d02e21d-86f5-445e-b966-442b255bb4a7) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 8c6343e8-770a-4369-a07e-0fb7141122c3 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.7.210; osm-ext=172.21.248.171 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 306c31d2-ffad-47b1-b183-94d023bb7806 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.171 | ubuntu20.04 | simple_requires-1-1-flv | | 59647f9b-c934-4c62-a7fb-d04c2e6ad917 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.181 | ubuntu20.04 | simple_requires-1-1-flv | | 11286ef8-c456-4ce0-bf82-2eb082dbfe4f | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42:56 | BUILDING | INSTANTIATING (7d02e21d-86f5-445e-b966-442b255bb4a7) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42:56 | BUILDING | INSTANTIATING (7d02e21d-86f5-445e-b966-442b255bb4a7) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 8c6343e8-770a-4369-a07e-0fb7141122c3 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.7.210; osm-ext=172.21.248.171 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42: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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 8c6343e8-770a-4369-a07e-0fb7141122c3 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.7.210; osm-ext=172.21.248.171 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --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 | 78d0047e-29cf-4d66-b227-b1e9732a55db | 2024-03-29T02:42: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} = 78d0047e-29cf-4d66-b227-b1e9732a55db ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 78d0047e-29cf-4d66-b227-b1e9732a55db 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 78d0047e-29cf-4d66-b227-b1e9732a55db | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.171 ${stdout} Logs the given message with the given level. 172.21.248.171 ${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.171 ${ip_addr} Logs the given message with the given level. 172.21.248.171 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.171 cluster_epa daily epa_01 regression 30 seconds Waiting for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting for SSH daemon to be up ${vnf_ip_addr} ${username} ${password} ${privatekey} lspci | grep "Ethernet controller" | grep -v "Virtio" ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.171: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 Fri Mar 29 02:44:42 UTC 2024 System load: 0.27 Processes: 98 Usage of /: 3.8% of 28.90GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.248.171 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ | 8c6343e8-770a-4369-a07e-0fb7141122c3 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.7.210; osm-ext=172.21.248.171 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 0 ${stdout} = epa_01-epa_sriov_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_01-epa_sriov_test == epa_01-epa_sriov_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 3d4e34ee-535c-4a89-9c09-582692ee3e55 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3d4e34ee-535c-4a89-9c09-582692ee3e55 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 5b22c41b-9b90-4d40-983a-0820f7630573 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 5b22c41b-9b90-4d40-983a-0820f7630573 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} = 452a7821-b5f4-43ca-beae-b3acbda694b1 ${stdout} Logs the given message with the given level. 452a7821-b5f4-43ca-beae-b3acbda694b1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 452a7821-b5f4-43ca-beae-b3acbda694b1 ${ns_id} Logs the given message with the given level. 452a7821-b5f4-43ca-beae-b3acbda694b1 ${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 | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.12; basic_18-datanet2=192.168.20.10; basic_18-datanet3=192.168.30.78; osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.41; basic_18-datanet2=192.168.20.107; basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --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 | 452a7821-b5f4-43ca-beae-b3acbda694b1 | 2024-03-29T02:45:17 | BUILDING | INSTANTIATING (126581b8-3bb7-46d9-88ec-5beadf40eb47) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 452a7821-b5f4-43ca-beae-b3acbda694b1 | 2024-03-29T02:45:17 | BUILDING | INSTANTIATING (126581b8-3bb7-46d9-88ec-5beadf40eb47) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.12; basic_18-datanet2=192.168.20.10; basic_18-datanet3=192.168.30.78; osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.41; basic_18-datanet2=192.168.20.107; basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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 | 452a7821-b5f4-43ca-beae-b3acbda694b1 | 2024-03-29T02:45:17 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.12; basic_18-datanet2=192.168.20.10; basic_18-datanet3=192.168.30.78; osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.41; basic_18-datanet2=192.168.20.107; basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --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 | 452a7821-b5f4-43ca-beae-b3acbda694b1 | 2024-03-29T02:45:17 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 452a7821-b5f4-43ca-beae-b3acbda694b1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 452a7821-b5f4-43ca-beae-b3acbda694b1 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 452a7821-b5f4-43ca-beae-b3acbda694b1 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | d298815e-c896-4e91-9e39-10b19ec2a12b ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ d298815e-c896-4e91-9e39-10b19ec2a12b ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: d298815e-c896-4e91-9e39-10b19ec2a12b ${vnfs_list} = ['d298815e-c896-4e91-9e39-10b19ec2a12b'] ${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 d298815e-c896-4e91-9e39-10b19ec2a12b --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 ${stdout} Logs the given message with the given level. ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 ${vim_id} Logs the given message with the given level. ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 ${vnf_server_id} ${vim_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_server_id} = ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 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 ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')''. ${rc} = 0 ${stdout} = 2cc0433c-97f1-439c-ae5f-5ebc919e6215 ${stdout} Logs the given message with the given level. 2cc0433c-97f1-439c-ae5f-5ebc919e6215 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${flavor_id} = 2cc0433c-97f1-439c-ae5f-5ebc919e6215 ${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 2cc0433c-97f1-439c-ae5f-5ebc919e6215 | 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} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | ba7d6c4b-86ab-45bd-9976-51bb1caa7e54 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.12; basic_18-datanet2=192.168.20.10; basic_18-datanet3=192.168.30.78; osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.41; basic_18-datanet2=192.168.20.107; basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.12; basic_18-datanet2=192.168.20.10; basic_18-datanet3=192.168.30.78; osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.41; basic_18-datanet2=192.168.20.107; basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 2e601684-24d7-4744-929d-c857e3d0396d ${stdout} Logs the given message with the given level. 2e601684-24d7-4744-929d-c857e3d0396d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_sdnc_id} = 2e601684-24d7-4744-929d-c857e3d0396d ${sdnc_id} ${created_sdnc_id} Makes a variable available everywhere within the scope of the current suite. ${sdnc_id} = 2e601684-24d7-4744-929d-c857e3d0396d ${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 2e601684-24d7-4744-929d-c857e3d0396d | 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=2e601684-24d7-4744-929d-c857e3d0396d ${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=2e601684-24d7-4744-929d-c857e3d0396d ${param_name} = sdnc_id ${param_value} = 2e601684-24d7-4744-929d-c857e3d0396d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="2e601684-24d7-4744-929d-c857e3d0396d", ${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.12: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.12:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%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.12:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 02:46:35 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_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=2e601684-24d7-4744-929d-c857e3d0396d ${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=2e601684-24d7-4744-929d-c857e3d0396d ${param_name} = sdnc_id ${param_value} = 2e601684-24d7-4744-929d-c857e3d0396d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="2e601684-24d7-4744-929d-c857e3d0396d", ${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.12: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.12:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%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.12:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%222e601684-24d7-4744-929d-c857e3d0396d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 02:47:35 GMT', 'Content-Length': '231'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_sdnc_status","instance":"mon:8000","job":"mon_exporter","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","sdnc_id":"2e601684-24d7-4744-929d-c857e3d0396d"},"value":[1711680455.154,"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': 'c2ca7b14-aa50-4937-a6f1-8c499... ${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': 'c2ca7b14-aa50-4937-a6f1-8c499377a4b4', 'sdnc_id': '2e601684-24d7-4744-929d-c857e3d0396d'}, '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 9671b81c-c2c2-47d4-8c96-91903af378f5 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9671b81c-c2c2-47d4-8c96-91903af378f5 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 50b1649a-a63a-4d67-98c9-0bed3d3fa60f ${rc} ${success_return_code} Fails if objects are unequal after 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} = 50b1649a-a63a-4d67-98c9-0bed3d3fa60f 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} = 301e38cf-8355-4628-92b2-cdc6e7703ec3 ${stdout} Logs the given message with the given level. 301e38cf-8355-4628-92b2-cdc6e7703ec3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 301e38cf-8355-4628-92b2-cdc6e7703ec3 ${ns_id} Logs the given message with the given level. 301e38cf-8355-4628-92b2-cdc6e7703ec3 ${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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ | ecd314ec-49a5-4f0c-91e9-64331a33d515 | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.175 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9dbd6f71-a452-4c87-b3e3-27633c7b6239 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet3=192.168.30.209; osm-ext=172.21.248.117 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | BUILDING | INSTANTIATING (9f72197c-b4d6-4bb8-b9fc-4b51344d84b0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | BUILDING | INSTANTIATING (9f72197c-b4d6-4bb8-b9fc-4b51344d84b0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | 59e4aa01-5931-437f-a8de-6aceb7f76525 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.182 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | eb8d7381-cc04-48cb-a209-1645fcbf9ba3 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | BUILDING | INSTANTIATING (9f72197c-b4d6-4bb8-b9fc-4b51344d84b0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | BUILDING | INSTANTIATING (9f72197c-b4d6-4bb8-b9fc-4b51344d84b0) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 68cc2d0c-92f2-4ec0-940f-e19d28c840e6 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.253 | ubuntu20.04 | simple_requires-1-1-flv | | a9f10c3f-3a04-4935-a6fa-a78caffc814d | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.48; osm-ext=172.21.248.195 | ubuntu20.04 | simple_requires-1-1-flv | | 59e4aa01-5931-437f-a8de-6aceb7f76525 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.182 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | eb8d7381-cc04-48cb-a209-1645fcbf9ba3 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 68cc2d0c-92f2-4ec0-940f-e19d28c840e6 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.253 | ubuntu20.04 | simple_requires-1-1-flv | | a9f10c3f-3a04-4935-a6fa-a78caffc814d | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.48; osm-ext=172.21.248.195 | ubuntu20.04 | simple_requires-1-1-flv | | 59e4aa01-5931-437f-a8de-6aceb7f76525 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.182 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | eb8d7381-cc04-48cb-a209-1645fcbf9ba3 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 301e38cf-8355-4628-92b2-cdc6e7703ec3 | 2024-03-29T02:47:42 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 301e38cf-8355-4628-92b2-cdc6e7703ec3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 301e38cf-8355-4628-92b2-cdc6e7703ec3 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 301e38cf-8355-4628-92b2-cdc6e7703ec3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.139 ${stdout} Logs the given message with the given level. 172.21.248.139 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.248.139 ${ip_mgmt_1} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_1} = 172.21.248.139 ${ip_mgmt_1} Logs the given message with the given level. 172.21.248.139 ${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 301e38cf-8355-4628-92b2-cdc6e7703ec3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.182 ${stdout} Logs the given message with the given level. 172.21.249.182 ${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.182 ${ip_mgmt_2} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_2} = 172.21.249.182 ${ip_mgmt_2} Logs the given message with the given level. 172.21.249.182 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.139:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 02:49:26 UTC 2024 System load: 0.81 Processes: 123 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.248.139 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:ce:44:2d brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86328sec preferred_lft 86328sec inet6 fe80::f816:3eff:fece:442d/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:72:5b:29 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:fe72:5b29/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=2.19 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.153 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.213 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.146 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.226 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4061ms rtt min/avg/max/mdev = 0.146/0.584/2.185/0.800 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:ce:44:2d brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86328sec preferred_lft 86328sec inet6 fe80::f816:3eff:fece:442d/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:72:5b:29 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:fe72:5b29/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=2.19 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.153 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.213 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.146 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.226 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4061ms rtt min/avg/max/mdev = 0.146/0.584/2.185/0.800 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.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 02:49:32 UTC 2024 System load: 0.56 Processes: 128 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.182 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:0b:3e:62 brd ff:ff:ff:ff:ff:ff inet 172.21.249.182/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86326sec preferred_lft 86326sec inet6 fe80::f816:3eff:fe0b:3e62/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:b4:7a:81 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:feb4:7a81/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.202 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.581 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.129 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.167 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.238 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4085ms rtt min/avg/max/mdev = 0.129/0.263/0.581/0.162 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:0b:3e:62 brd ff:ff:ff:ff:ff:ff inet 172.21.249.182/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86326sec preferred_lft 86326sec inet6 fe80::f816:3eff:fe0b:3e62/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:b4:7a:81 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:feb4:7a81/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.202 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.581 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.129 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.167 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.238 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4085ms rtt min/avg/max/mdev = 0.129/0.263/0.581/0.162 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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 68cc2d0c-92f2-4ec0-940f-e19d28c840e6 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.253 | ubuntu20.04 | simple_requires-1-1-flv | | a9f10c3f-3a04-4935-a6fa-a78caffc814d | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.48; osm-ext=172.21.248.195 | ubuntu20.04 | simple_requires-1-1-flv | | 59e4aa01-5931-437f-a8de-6aceb7f76525 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.182 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | eb8d7381-cc04-48cb-a209-1645fcbf9ba3 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 59e4aa01-5931-437f-a8de-6aceb7f76525 | epa_04-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 c11505ea-091b-43fc-affb-f6fabf36635a ${rc} ${success_return_code} Fails if objects are unequal after 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} = c11505ea-091b-43fc-affb-f6fabf36635a 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 f104ca7f-01c9-42a6-9cd8-82bc37a9394f ${rc} ${success_return_code} Fails if objects are unequal after 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} = f104ca7f-01c9-42a6-9cd8-82bc37a9394f cluster_main daily fail_01 regression ${rand} 4 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 7788 ${ns_name} SEPARATOR=_ ${ns_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${ns_name} = fail_01_7788 ${ns_name} Makes a variable available everywhere within the scope of the current suite. ${ns_name} = fail_01_7788 ${ns_name} Logs the given message with the given level. fail_01_7788 ${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_7788 --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} = 975e39e6-37d1-4fce-bf1b-ee7dd047a09d ${stdout} Logs the given message with the given level. 975e39e6-37d1-4fce-bf1b-ee7dd047a09d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 975e39e6-37d1-4fce-bf1b-ee7dd047a09d ${id} Logs the given message with the given level. 975e39e6-37d1-4fce-bf1b-ee7dd047a09d ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 975e39e6-37d1-4fce-bf1b-ee7dd047a09d ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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_7788" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_7788 | 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 2024-03-29T02:50:31 | BUILDING | INSTANTIATING (72ee5eed-e6fc-4ec5-b68c-a51d5037d02e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_7788 | 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 2024-03-29T02:50:31 | BUILDING | INSTANTIATING (72ee5eed-e6fc-4ec5-b68c-a51d5037d02e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 58e7cd9c-edd3-430f-a6d3-b46d95a3d95a | fail_01_7788-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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_7788" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | 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_7788 | 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 2024-03-29T02:50:31 | BUILDING | INSTANTIATING (72ee5eed-e6fc-4ec5-b68c-a51d5037d02e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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_7788 | 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 2024-03-29T02:50:31 | BUILDING | INSTANTIATING (72ee5eed-e6fc-4ec5-b68c-a51d5037d02e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 58e7cd9c-edd3-430f-a6d3-b46d95a3d95a | fail_01_7788-vnf-mgmtVM-0 | ACTIVE | fail_01_7788-internal=192.168.200.163; osm-ext=172.21.248.74 | ubuntu20.04 | simple_requires-1-1-flv | | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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_7788" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | 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_7788 | 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 2024-03-29T02:50:31 | BROKEN | IDLE (None) | Operation: INSTANTIATING.72ee5eed-e6fc-4 | | | | | | | ec5-b68c-a51d5037d02e, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: Forbidden: Quota exceeded | | | | | | | for ram: Requested 335544, but already | | | | | | | used 190464 of 327680 ram (HTTP 403) | | | | | | | (Request-ID: req-3f67c7bd-4e30-45f6-ba49 | | | | | | | -3a69d1df8e1c) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after 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="975e39e6-37d1-4fce-bf1b-ee7dd047a09d" | grep 975e39e6-37d1-4fce-bf1b-ee7dd047a09d | 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 975e39e6-37d1-4fce-bf1b-ee7dd047a09d --literal | yq .errorDetail 2>&1'. ${rc} = 0 ${stdout} = "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-3f67c7bd-4e30-45f6-ba49-3a69d1df8e1c)" ${stdout} Logs the given message with the given level. "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-3f67c7bd-4e30-45f6-ba49-3a69d1df8e1c)" ${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_7788 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 | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 58e7cd9c-edd3-430f-a6d3-b46d95a3d95a | fail_01_7788-vnf-mgmtVM-0 | ACTIVE | fail_01_7788-internal=192.168.200.163; osm-ext=172.21.248.74 | ubuntu20.04 | simple_requires-1-1-flv | | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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_7788 2>&1'. ${rc} = 0 ${stdout} = fail_01_7788 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_7788 == fail_01_7788 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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_7788 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_7788 | 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 2d6ceb05-a91f-47ad-bc87-bb3c3029536b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 2d6ceb05-a91f-47ad-bc87-bb3c3029536b 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 c6b6a94d-089d-4cc2-9a42-7ac80bce4761 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c6b6a94d-089d-4cc2-9a42-7ac80bce4761 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} = 8033874e-f2df-42ef-90c1-3ac8faef872f ${stdout} Logs the given message with the given level. 8033874e-f2df-42ef-90c1-3ac8faef872f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 8033874e-f2df-42ef-90c1-3ac8faef872f ${ns_id} Logs the given message with the given level. 8033874e-f2df-42ef-90c1-3ac8faef872f ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | c3b64110-807a-4520-a7b5-e804f0fa91a2 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8033874e-f2df-42ef-90c1-3ac8faef872f | 2024-03-29T02:51:48 | BUILDING | INSTANTIATING (0b1d6a3b-6b81-4af0-9650-c32c81a1742b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8033874e-f2df-42ef-90c1-3ac8faef872f | 2024-03-29T02:51:48 | BUILDING | INSTANTIATING (0b1d6a3b-6b81-4af0-9650-c32c81a1742b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 834be6a2-6b93-4075-b5f3-f051980f09b3 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.119 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8033874e-f2df-42ef-90c1-3ac8faef872f | 2024-03-29T02:51: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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 834be6a2-6b93-4075-b5f3-f051980f09b3 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.119 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8033874e-f2df-42ef-90c1-3ac8faef872f | 2024-03-29T02:51: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} = 8033874e-f2df-42ef-90c1-3ac8faef872f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 8033874e-f2df-42ef-90c1-3ac8faef872f 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 8033874e-f2df-42ef-90c1-3ac8faef872f | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.119 ${stdout} Logs the given message with the given level. 172.21.248.119 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.248.119 ${ip_addr} Logs the given message with the given level. 172.21.248.119 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.119 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.119 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.119 (172.21.248.119) 56(84) bytes of data. 64 bytes from 172.21.248.119: icmp_seq=1 ttl=63 time=2.16 ms 64 bytes from 172.21.248.119: icmp_seq=2 ttl=63 time=0.800 ms --- 172.21.248.11... ${stdout} Logs the given message with the given level. PING 172.21.248.119 (172.21.248.119) 56(84) bytes of data. 64 bytes from 172.21.248.119: icmp_seq=1 ttl=63 time=2.16 ms 64 bytes from 172.21.248.119: icmp_seq=2 ttl=63 time=0.800 ms --- 172.21.248.119 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.800/1.478/2.157/0.678 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.119: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@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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 834be6a2-6b93-4075-b5f3-f051980f09b3 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.119 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 053e18b6-ae1b-4c33-aac7-d1b19aff7403 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | simple_requires-1-1-flv | | af17d268-6f5e-4c5c-aedc-5f0600a07fb0 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 1c47c254-c005-42ad-a806-cb10e153e0c6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1c47c254-c005-42ad-a806-cb10e153e0c6 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 4b5b8a85-c2d7-45b5-b6ed-cdc1ea8212f6 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 4b5b8a85-c2d7-45b5-b6ed-cdc1ea8212f6 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} = d3c08c40-cd93-42ff-b22d-458958425876 ${stdout} Logs the given message with the given level. d3c08c40-cd93-42ff-b22d-458958425876 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d3c08c40-cd93-42ff-b22d-458958425876 ${ns_id} Logs the given message with the given level. d3c08c40-cd93-42ff-b22d-458958425876 ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 053e18b6-ae1b-4c33-aac7-d1b19aff7403 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | simple_requires-1-1-flv | | af17d268-6f5e-4c5c-aedc-5f0600a07fb0 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53:33 | BUILDING | INSTANTIATING (6108199b-8221-4637-bd34-de324f03df5a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53:33 | BUILDING | INSTANTIATING (6108199b-8221-4637-bd34-de324f03df5a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | e08622b2-6ae0-44d7-a540-d023427c9129 | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 153dc69b-c13d-4da2-82fd-198d2c52e4d5 | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | c5945d7b-083d-4523-8b85-e051793ccc14 | hfcloudinit-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ba65a6c3-f306-4635-a87e-67e31c5b93b4 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.250.122; osm-ext=172.21.249.142 | ubuntu20.04 | simple_requires-1-1-flv | | 053e18b6-ae1b-4c33-aac7-d1b19aff7403 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | simple_requires-1-1-flv | | af17d268-6f5e-4c5c-aedc-5f0600a07fb0 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53:33 | BUILDING | INSTANTIATING (6108199b-8221-4637-bd34-de324f03df5a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53:33 | BUILDING | INSTANTIATING (6108199b-8221-4637-bd34-de324f03df5a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | e08622b2-6ae0-44d7-a540-d023427c9129 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.133; hfcloudinit-internal=192.168.4.74 | ubuntu20.04 | simple_requires-1-1-flv | | 153dc69b-c13d-4da2-82fd-198d2c52e4d5 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.86; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | c5945d7b-083d-4523-8b85-e051793ccc14 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.34; hfcloudinit-internal=192.168.250.198 | ubuntu20.04 | simple_requires-1-1-flv | | ba65a6c3-f306-4635-a87e-67e31c5b93b4 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.250.122; osm-ext=172.21.249.142 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53: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 | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | e08622b2-6ae0-44d7-a540-d023427c9129 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.133; hfcloudinit-internal=192.168.4.74 | ubuntu20.04 | simple_requires-1-1-flv | | 153dc69b-c13d-4da2-82fd-198d2c52e4d5 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.86; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | c5945d7b-083d-4523-8b85-e051793ccc14 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.34; hfcloudinit-internal=192.168.250.198 | ubuntu20.04 | simple_requires-1-1-flv | | ba65a6c3-f306-4635-a87e-67e31c5b93b4 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.250.122; osm-ext=172.21.249.142 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | d3c08c40-cd93-42ff-b22d-458958425876 | 2024-03-29T02:53: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} = d3c08c40-cd93-42ff-b22d-458958425876 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d3c08c40-cd93-42ff-b22d-458958425876 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 d3c08c40-cd93-42ff-b22d-458958425876 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.142 ${stdout} Logs the given message with the given level. 172.21.249.142 ${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.142 ${ip_addr} Logs the given message with the given level. 172.21.249.142 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.142 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.142: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 Fri Mar 29 02:55:17 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.142 Swap usage: 0% IPv4 address for ens4: 192.168.250.122 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.142: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 Fri Mar 29 02:55:19 UTC 2024 System load: 0.72 Processes: 105 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.142 Swap usage: 0% IPv4 address for ens4: 192.168.250.122 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: Fri Mar 29 02:55: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@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 | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | e08622b2-6ae0-44d7-a540-d023427c9129 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.133; hfcloudinit-internal=192.168.4.74 | ubuntu20.04 | simple_requires-1-1-flv | | 153dc69b-c13d-4da2-82fd-198d2c52e4d5 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.86; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | c5945d7b-083d-4523-8b85-e051793ccc14 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.115.34; hfcloudinit-internal=192.168.250.198 | ubuntu20.04 | simple_requires-1-1-flv | | ba65a6c3-f306-4635-a87e-67e31c5b93b4 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.250.122; osm-ext=172.21.249.142 | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | e08622b2-6ae0-44d7-a540-d023427c9129 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.74 | ubuntu20.04 | simple_requires-1-1-flv | | 153dc69b-c13d-4da2-82fd-198d2c52e4d5 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.86; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | c5945d7b-083d-4523-8b85-e051793ccc14 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | ba65a6c3-f306-4635-a87e-67e31c5b93b4 | hfcloudinit-vnf1-mgmtVM-0 | DELETED | | ubuntu20.04 | simple_requires-1-1-flv | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = hfcloudinit ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfcloudinit == hfcloudinit ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 3282d5ec-8bb7-482e-b4bd-68b93dcd913f ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3282d5ec-8bb7-482e-b4bd-68b93dcd913f 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 d3f8034f-438e-495f-9408-77b1dc43e87c ${rc} ${success_return_code} Fails if objects are unequal after 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} = d3f8034f-438e-495f-9408-77b1dc43e87c 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} = cc03846e-1a18-4413-bd6e-01ca6125eed8 ${stdout} Logs the given message with the given level. cc03846e-1a18-4413-bd6e-01ca6125eed8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = cc03846e-1a18-4413-bd6e-01ca6125eed8 ${ns_id} Logs the given message with the given level. cc03846e-1a18-4413-bd6e-01ca6125eed8 ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | f4cb9b52-8f88-4fee-b3eb-55e3a897e8af | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | BUILDING | INSTANTIATING (f9102bbb-771c-4d63-a054-159a139a98b5) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | BUILDING | INSTANTIATING (f9102bbb-771c-4d63-a054-159a139a98b5) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | a2d62e8c-967e-4c62-b358-adff32bce96c | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 621e0d0c-620f-47aa-9c39-35f8a22476e6 | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | bc11fd6a-49e1-4642-98d0-e91216b71aa5 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.160; hfmultivdu-internal=192.168.79.76 | ubuntu20.04 | simple_requires-1-1-flv | | 782f259f-1ce4-426b-b101-03d84f14c0ef | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.79.77; osm-ext=172.21.249.185 | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | BUILDING | INSTANTIATING (f9102bbb-771c-4d63-a054-159a139a98b5) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | BUILDING | INSTANTIATING (f9102bbb-771c-4d63-a054-159a139a98b5) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | a2d62e8c-967e-4c62-b358-adff32bce96c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.217; hfmultivdu-internal=192.168.11.27 | ubuntu20.04 | simple_requires-1-1-flv | | 621e0d0c-620f-47aa-9c39-35f8a22476e6 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.11.67; osm-ext=172.21.248.42 | ubuntu20.04 | simple_requires-1-1-flv | | bc11fd6a-49e1-4642-98d0-e91216b71aa5 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.160; hfmultivdu-internal=192.168.79.76 | ubuntu20.04 | simple_requires-1-1-flv | | 782f259f-1ce4-426b-b101-03d84f14c0ef | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.79.77; osm-ext=172.21.249.185 | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | a2d62e8c-967e-4c62-b358-adff32bce96c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.217; hfmultivdu-internal=192.168.11.27 | ubuntu20.04 | simple_requires-1-1-flv | | 621e0d0c-620f-47aa-9c39-35f8a22476e6 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.11.67; osm-ext=172.21.248.42 | ubuntu20.04 | simple_requires-1-1-flv | | bc11fd6a-49e1-4642-98d0-e91216b71aa5 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.160; hfmultivdu-internal=192.168.79.76 | ubuntu20.04 | simple_requires-1-1-flv | | 782f259f-1ce4-426b-b101-03d84f14c0ef | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.79.77; osm-ext=172.21.249.185 | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | cc03846e-1a18-4413-bd6e-01ca6125eed8 | 2024-03-29T02:56:11 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = cc03846e-1a18-4413-bd6e-01ca6125eed8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = cc03846e-1a18-4413-bd6e-01ca6125eed8 ${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 cc03846e-1a18-4413-bd6e-01ca6125eed8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.185 ${stdout} Logs the given message with the given level. 172.21.249.185 ${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.185 ${ip_addr} Logs the given message with the given level. 172.21.249.185 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.185 cluster_main daily hackfest_multivdu regression ${vnf_ip_addr} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.249.185 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.185 (172.21.249.185) 56(84) bytes of data. 64 bytes from 172.21.249.185: icmp_seq=1 ttl=63 time=2.13 ms 64 bytes from 172.21.249.185: icmp_seq=2 ttl=63 time=1.13 ms --- 172.21.249.185... ${stdout} Logs the given message with the given level. PING 172.21.249.185 (172.21.249.185) 56(84) bytes of data. 64 bytes from 172.21.249.185: icmp_seq=1 ttl=63 time=2.13 ms 64 bytes from 172.21.249.185: icmp_seq=2 ttl=63 time=1.13 ms --- 172.21.249.185 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 1.133/1.629/2.125/0.496 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily hackfest_multivdu regression ${status} ${message} Variable Should Exist ${privatekey} Runs the given keyword with the given arguments and ignores possible error. ${privatekey} Fails unless the given variable exists within the current scope. ${status} = PASS ${message} = None "${status}" == "FAIL" Set Global Variable ${privatekey} ${EMPTY} Runs the given keyword with the given arguments, if ``condition`` is true. ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.185: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 Fri Mar 29 02:58:14 UTC 2024 System load: 0.13 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.185 Swap usage: 0% IPv4 address for ens4: 192.168.79.77 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 | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | a2d62e8c-967e-4c62-b358-adff32bce96c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.217; hfmultivdu-internal=192.168.11.27 | ubuntu20.04 | simple_requires-1-1-flv | | 621e0d0c-620f-47aa-9c39-35f8a22476e6 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.11.67; osm-ext=172.21.248.42 | ubuntu20.04 | simple_requires-1-1-flv | | bc11fd6a-49e1-4642-98d0-e91216b71aa5 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.95.160; hfmultivdu-internal=192.168.79.76 | ubuntu20.04 | simple_requires-1-1-flv | | 782f259f-1ce4-426b-b101-03d84f14c0ef | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.79.77; osm-ext=172.21.249.185 | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+---------+----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+---------+----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+---------+----------------------------------------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | a2d62e8c-967e-4c62-b358-adff32bce96c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.11.27 | ubuntu20.04 | simple_requires-1-1-flv | | 621e0d0c-620f-47aa-9c39-35f8a22476e6 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.11.67; osm-ext=172.21.248.42 | ubuntu20.04 | simple_requires-1-1-flv | | bc11fd6a-49e1-4642-98d0-e91216b71aa5 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 782f259f-1ce4-426b-b101-03d84f14c0ef | hfmultivdu-vnf1-mgmtVM-0 | DELETED | | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+---------+----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | b981688c-272b-4707-a69a-2db7984f3a65 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | | ubuntu18.04 | | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 89d16051-b74d-4d19-aadb-4657522ba7a0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 89d16051-b74d-4d19-aadb-4657522ba7a0 '%{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 a29e7e73-c5d0-4ec4-a9cd-d35c9173e600 ${rc} ${success_return_code} Fails if objects are unequal after 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} = a29e7e73-c5d0-4ec4-a9cd-d35c9173e600 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 7405586e-0de8-4381-8a9c-da9596cb3a97 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7405586e-0de8-4381-8a9c-da9596cb3a97 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} = 7c6b4d51-faa3-4be5-bf61-dcf245e7533f ${stdout} Logs the given message with the given level. 7c6b4d51-faa3-4be5-bf61-dcf245e7533f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7c6b4d51-faa3-4be5-bf61-dcf245e7533f ${ns_id} Logs the given message with the given level. 7c6b4d51-faa3-4be5-bf61-dcf245e7533f ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | 9118be9a-95ed-46fd-ab48-3f4db36c34a8 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | 5ca03ea0-52cb-4ea7-9e0d-2131b2f61494 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ | 5ca03ea0-52cb-4ea7-9e0d-2131b2f61494 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5ca03ea0-52cb-4ea7-9e0d-2131b2f61494 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu20.04 | | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | BUILDING | INSTANTIATING (cb9bc66c-6fb2-4235-b16c-b83b19642f12) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59:10 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 5e0becf9-629a-4cd6-9c0d-d2810786c401 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 2024-03-29T02:59: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} = 7c6b4d51-faa3-4be5-bf61-dcf245e7533f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7c6b4d51-faa3-4be5-bf61-dcf245e7533f 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 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | bcdeedae-5a4a-482c-a91a-59af4d9636de 547753b2-995a-4539-ba60-6df836152e95 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ bcdeedae-5a4a-482c-a91a-59af4d9636de | 547753b2-995a-4539-ba60-6df836152e95 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: bcdeedae-5a4a-482c-a91a-59af4d9636de 1: 547753b2-995a-4539-ba60-6df836152e95 @{vnf_id_list} = [ bcdeedae-5a4a-482c-a91a-59af4d9636de | 547753b2-995a-4539-ba60-6df836152e95 ] ${vnf_id_list} Logs the given message with the given level. ['bcdeedae-5a4a-482c-a91a-59af4d9636de', '547753b2-995a-4539-ba60-6df836152e95'] ${vnf_id} @{vnf_id_list} bcdeedae-5a4a-482c-a91a-59af4d9636de ${vnf_id} Logs the given message with the given level. bcdeedae-5a4a-482c-a91a-59af4d9636de ${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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${stdout} Logs the given message with the given level. 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5e0becf9-629a-4cd6-9c0d-d2810786c401 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 5e0becf9-629a-4cd6-9c0d-d2810786c401 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 547753b2-995a-4539-ba60-6df836152e95 ${vnf_id} Logs the given message with the given level. 547753b2-995a-4539-ba60-6df836152e95 ${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 547753b2-995a-4539-ba60-6df836152e95 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${stdout} Logs the given message with the given level. e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ e74df05d-f2cd-48db-8869-261b7cfcae0d | 97fa59fb-3256-4534-8991-b5c87d95f3e4 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${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 5e0becf9-629a-4cd6-9c0d-d2810786c401 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${stdout} Logs the given message with the given level. [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['75854e7a-c3ed-49fa-b07e-c03e01f40b2c'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. e74df05d-f2cd-48db-8869-261b7cfcae0d ${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 e74df05d-f2cd-48db-8869-261b7cfcae0d -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``. 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${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 97fa59fb-3256-4534-8991-b5c87d95f3e4 -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. 5e0becf9-629a-4cd6-9c0d-d2810786c401 e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 75854e7a-c3ed-49fa-b07e-c03e01f40b2c 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 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | 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} = 172.21.248.76 ${ip_addr} Logs the given message with the given level. 172.21.248.76 ${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.76 ${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 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = bcdeedae-5a4a-482c-a91a-59af4d9636de ${stdout} Logs the given message with the given level. bcdeedae-5a4a-482c-a91a-59af4d9636de ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = bcdeedae-5a4a-482c-a91a-59af4d9636de ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = bcdeedae-5a4a-482c-a91a-59af4d9636de ${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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${stdout} Logs the given message with the given level. 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 5e0becf9-629a-4cd6-9c0d-d2810786c401 ${vdu_volumes_id} Logs the given message with the given level. 5e0becf9-629a-4cd6-9c0d-d2810786c401 @{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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.76 ${rc} ${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.76 ] @{volumes_ip_list} = [ 172.21.248.76 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.248.76 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.248.76 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 5e0becf9-629a-4cd6-9c0d-d2810786c401 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${stdout} Logs the given message with the given level. [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['75854e7a-c3ed-49fa-b07e-c03e01f40b2c'] ${volume_id} ${match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_id} = 75854e7a-c3ed-49fa-b07e-c03e01f40b2c cluster_heal daily heal_01 ${vnf_volumes_ip_addr} msg=VNF is not available Fails unless the given variable exists within the current scope. 20 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 20 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.76: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 Fri Mar 29 03:03:44 UTC 2024 System load: 0.01 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.248.76 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 5e0becf9-629a-4cd6-9c0d-d2810786c401 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 7c6b4d51-faa3-4be5-bf61-dcf245e7533f --vnf bcdeedae-5a4a-482c-a91a-59af4d9636de --cause "Heal VM of volumes_vnf" --vdu several_volumes-VM 2>&1'. ${rc} = 0 ${stdout} = cc8e7674-2729-4344-863a-38bb465e1ff5 ${rc} ${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 cc8e7674-2729-4344-863a-38bb465e1ff5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id cc8e7674-2729-4344-863a-38bb465e1ff5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cc8e7674-2729-4344-863a-38bb465e1ff5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id cc8e7674-2729-4344-863a-38bb465e1ff5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cc8e7674-2729-4344-863a-38bb465e1ff5 --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 cc8e7674-2729-4344-863a-38bb465e1ff5 --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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.76 ${rc} ${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.76 ] @{ip_list} = [ 172.21.248.76 ] @{ip_list} Logs the given message with the given level. 172.21.248.76 ${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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${stdout} Logs the given message with the given level. 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${id} Logs the given message with the given level. 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${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 483fbc9d-2ad1-40c9-b638-a2da5022b3cf -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${stdout} Logs the given message with the given level. [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['75854e7a-c3ed-49fa-b07e-c03e01f40b2c'] ${match}[0] ${volume_id} Volume id has changed after healing Fails if the given objects are unequal. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.76: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 Fri Mar 29 03:05:19 UTC 2024 System load: 0.37 Processes: 103 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.76 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 7c6b4d51-faa3-4be5-bf61-dcf245e7533f | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | bcdeedae-5a4a-482c-a91a-59af4d9636de 547753b2-995a-4539-ba60-6df836152e95 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ bcdeedae-5a4a-482c-a91a-59af4d9636de | 547753b2-995a-4539-ba60-6df836152e95 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: bcdeedae-5a4a-482c-a91a-59af4d9636de 1: 547753b2-995a-4539-ba60-6df836152e95 @{vnf_id_list} = [ bcdeedae-5a4a-482c-a91a-59af4d9636de | 547753b2-995a-4539-ba60-6df836152e95 ] ${vnf_id} @{vnf_id_list} bcdeedae-5a4a-482c-a91a-59af4d9636de ${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 bcdeedae-5a4a-482c-a91a-59af4d9636de --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${stdout} Logs the given message with the given level. 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 483fbc9d-2ad1-40c9-b638-a2da5022b3cf @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 547753b2-995a-4539-ba60-6df836152e95 ${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 547753b2-995a-4539-ba60-6df836152e95 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${stdout} Logs the given message with the given level. e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ e74df05d-f2cd-48db-8869-261b7cfcae0d | 97fa59fb-3256-4534-8991-b5c87d95f3e4 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} e74df05d-f2cd-48db-8869-261b7cfcae0d ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 483fbc9d-2ad1-40c9-b638-a2da5022b3cf ${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 483fbc9d-2ad1-40c9-b638-a2da5022b3cf -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${stdout} Logs the given message with the given level. [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '75854e7a-c3ed-49fa-b07e-c03e01f40b2c'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['75854e7a-c3ed-49fa-b07e-c03e01f40b2c'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. e74df05d-f2cd-48db-8869-261b7cfcae0d ${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 e74df05d-f2cd-48db-8869-261b7cfcae0d -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``. 97fa59fb-3256-4534-8991-b5c87d95f3e4 ${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 97fa59fb-3256-4534-8991-b5c87d95f3e4 -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. 5e0becf9-629a-4cd6-9c0d-d2810786c401 e74df05d-f2cd-48db-8869-261b7cfcae0d 97fa59fb-3256-4534-8991-b5c87d95f3e4 483fbc9d-2ad1-40c9-b638-a2da5022b3cf @{vim_volumes} Logs the given messages as separate entries using the INFO level. 75854e7a-c3ed-49fa-b07e-c03e01f40b2c 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 483fbc9d-2ad1-40c9-b638-a2da5022b3cf | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.112.207; osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.112.144; osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 483fbc9d-2ad1-40c9-b638-a2da5022b3cf | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu20.04 | several_volumes-VM-flv | | 97fa59fb-3256-4534-8991-b5c87d95f3e4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.6 | ubuntu18.04 | simple_requires-1-1-flv | | e74df05d-f2cd-48db-8869-261b7cfcae0d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.239 | ubuntu18.04 | simple_requires-1-1-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} 75854e7a-c3ed-49fa-b07e-c03e01f40b2c Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 75854e7a-c3ed-49fa-b07e-c03e01f40b2c 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 75854e7a-c3ed-49fa-b07e-c03e01f40b2c | 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} 5e0becf9-629a-4cd6-9c0d-d2810786c401 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5e0becf9-629a-4cd6-9c0d-d2810786c401 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 5e0becf9-629a-4cd6-9c0d-d2810786c401 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '5e0becf9-629a-4cd6-9c0d-d2810786c401' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '5e0becf9-629a-4cd6-9c0d-d2810786c401' 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. e74df05d-f2cd-48db-8869-261b7cfcae0d Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server e74df05d-f2cd-48db-8869-261b7cfcae0d 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 e74df05d-f2cd-48db-8869-261b7cfcae0d -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'e74df05d-f2cd-48db-8869-261b7cfcae0d' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'e74df05d-f2cd-48db-8869-261b7cfcae0d' 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. 97fa59fb-3256-4534-8991-b5c87d95f3e4 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 97fa59fb-3256-4534-8991-b5c87d95f3e4 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 97fa59fb-3256-4534-8991-b5c87d95f3e4 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '97fa59fb-3256-4534-8991-b5c87d95f3e4' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '97fa59fb-3256-4534-8991-b5c87d95f3e4' 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. 483fbc9d-2ad1-40c9-b638-a2da5022b3cf Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 483fbc9d-2ad1-40c9-b638-a2da5022b3cf 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 483fbc9d-2ad1-40c9-b638-a2da5022b3cf -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '483fbc9d-2ad1-40c9-b638-a2da5022b3cf' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '483fbc9d-2ad1-40c9-b638-a2da5022b3cf' 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 a875cee5-6854-45a0-aa6a-ecf37beeb75d ${rc} ${success_return_code} Fails if objects are unequal after 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} = a875cee5-6854-45a0-aa6a-ecf37beeb75d '%{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 45492a55-9ea8-43e4-b2e5-a1905811a7db ${rc} ${success_return_code} Fails if objects are unequal after 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} = 45492a55-9ea8-43e4-b2e5-a1905811a7db 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 a7f461e0-169c-4945-9368-e69277dd18e2 ${rc} ${success_return_code} Fails if objects are unequal after 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} = a7f461e0-169c-4945-9368-e69277dd18e2 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} = a426c55e-5c41-463d-8482-e77b1111c79a ${stdout} Logs the given message with the given level. a426c55e-5c41-463d-8482-e77b1111c79a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a426c55e-5c41-463d-8482-e77b1111c79a ${ns_id} Logs the given message with the given level. a426c55e-5c41-463d-8482-e77b1111c79a ${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 | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | f6a1f874-2d50-44de-9174-9b40bf603e04 | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::e7; basic_30-datanet2=192.168.20.177; basic_30-datanet3=192.168.30.32; osm-ext=172.21.249.93 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d594e3c9-fda1-499a-9a90-2e803d8aec7d | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::253; basic_30-datanet2=192.168.20.89; basic_30-datanet3=192.168.30.210; osm-ext=172.21.249.151 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | BUILDING | INSTANTIATING (e4f7f013-f2e5-42dc-b249-e0293b680bc1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 40e57a0d-bb6e-4fe0-8978-1bdbda37737c | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 147f6ff0-ba15-485f-b8de-603874a1b063 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06:51 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 40e57a0d-bb6e-4fe0-8978-1bdbda37737c | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.168 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 147f6ff0-ba15-485f-b8de-603874a1b063 | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.117 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 6cebd12d-a3d9-4a31-9859-a2bae3c05c59 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | a426c55e-5c41-463d-8482-e77b1111c79a | 2024-03-29T03:06: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} = a426c55e-5c41-463d-8482-e77b1111c79a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a426c55e-5c41-463d-8482-e77b1111c79a 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 a426c55e-5c41-463d-8482-e77b1111c79a | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 24fa5070-d60f-411e-b4cf-f0543bd95233 ${stdout} Logs the given message with the given level. 24fa5070-d60f-411e-b4cf-f0543bd95233 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 24fa5070-d60f-411e-b4cf-f0543bd95233 ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = 24fa5070-d60f-411e-b4cf-f0543bd95233 @{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 24fa5070-d60f-411e-b4cf-f0543bd95233 --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} = c89939bd-6224-44d0-b0a8-935c2a4d1653 ${rc} ${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 c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c89939bd-6224-44d0-b0a8-935c2a4d1653 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c89939bd-6224-44d0-b0a8-935c2a4d1653 --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 c89939bd-6224-44d0-b0a8-935c2a4d1653 --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 24fa5070-d60f-411e-b4cf-f0543bd95233 --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 a426c55e-5c41-463d-8482-e77b1111c79a | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 4926c83a-d28d-442e-bcec-de224276e7fd 24fa5070-d60f-411e-b4cf-f0543bd95233 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 4926c83a-d28d-442e-bcec-de224276e7fd | 24fa5070-d60f-411e-b4cf-f0543bd95233 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 4926c83a-d28d-442e-bcec-de224276e7fd 1: 24fa5070-d60f-411e-b4cf-f0543bd95233 @{vnf_id_list} = [ 4926c83a-d28d-442e-bcec-de224276e7fd | 24fa5070-d60f-411e-b4cf-f0543bd95233 ] ${vnf_id_list} Logs the given message with the given level. ['4926c83a-d28d-442e-bcec-de224276e7fd', '24fa5070-d60f-411e-b4cf-f0543bd95233'] ${vnf_id} @{vnf_id_list} 4926c83a-d28d-442e-bcec-de224276e7fd ${vnf_id} Logs the given message with the given level. 4926c83a-d28d-442e-bcec-de224276e7fd ${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 4926c83a-d28d-442e-bcec-de224276e7fd --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = cbfef81d-7f4d-4923-a110-b3384080cfd0 ${stdout} Logs the given message with the given level. cbfef81d-7f4d-4923-a110-b3384080cfd0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = cbfef81d-7f4d-4923-a110-b3384080cfd0 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ cbfef81d-7f4d-4923-a110-b3384080cfd0 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 24fa5070-d60f-411e-b4cf-f0543bd95233 ${vnf_id} Logs the given message with the given level. 24fa5070-d60f-411e-b4cf-f0543bd95233 ${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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d ${stdout} Logs the given message with the given level. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | fa4404b2-484e-4d79-a414-7d4e5f3d096d ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} cbfef81d-7f4d-4923-a110-b3384080cfd0 ${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 cbfef81d-7f4d-4923-a110-b3384080cfd0 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${stdout} Logs the given message with the given level. [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 ${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 dd260ae0-6ffb-48ec-9b1b-fa6af4191212 -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``. 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e ${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 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e -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``. fa4404b2-484e-4d79-a414-7d4e5f3d096d ${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 fa4404b2-484e-4d79-a414-7d4e5f3d096d -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. cbfef81d-7f4d-4923-a110-b3384080cfd0 dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d @{vim_volumes} Logs the given messages as separate entries using the INFO level. 93378d3a-3f8d-4f80-aa5d-52dabe2aeff4 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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d ${stdout} Logs the given message with the given level. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | fa4404b2-484e-4d79-a414-7d4e5f3d096d ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e | fa4404b2-484e-4d79-a414-7d4e5f3d096d ] ${vdu_charm_ids}[1] Logs the given message with the given level. 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e @{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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.86 192.168.134.69 172.21.249.35 192.168.134.199 172.21.248.70 192.168.134.52 ${rc} ${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.86 | 192.168.134.69 | 172.21.249.35 | 192.168.134.199 | 172.21.248.70 | 192.168.134.52 ] @{charm_ip_list} = [ 172.21.248.86 | 192.168.134.69 | 172.21.249.35 | 192.168.134.199 | 172.21.248.70 | 192.168.134.52 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.248.86 | 192.168.134.69 | 172.21.249.35 | 192.168.134.199 | 172.21.248.70 | 192.168.134.52 ] 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 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e 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 a426c55e-5c41-463d-8482-e77b1111c79a --vnf 24fa5070-d60f-411e-b4cf-f0543bd95233 --cause "Heal VM of charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 2>&1'. ${rc} = 0 ${stdout} = 3df7c1a9-4690-4bcd-8faa-51063a727acd ${rc} ${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 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 3df7c1a9-4690-4bcd-8faa-51063a727acd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3df7c1a9-4690-4bcd-8faa-51063a727acd --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 3df7c1a9-4690-4bcd-8faa-51063a727acd --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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.86 192.168.134.69 172.21.249.35 192.168.134.199 172.21.248.70 192.168.134.52 ${rc} ${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.86 | 192.168.134.69 | 172.21.249.35 | 192.168.134.199 | 172.21.248.70 | 192.168.134.52 ] @{ip_list} = [ 172.21.248.86 | 192.168.134.69 | 172.21.249.35 | 192.168.134.199 | 172.21.248.70 | 192.168.134.52 ] ${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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d ${stdout} Logs the given message with the given level. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | fa4404b2-484e-4d79-a414-7d4e5f3d096d ] ${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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.35 ${rc} ${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.35 ${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.35: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 Fri Mar 29 03:18:22 UTC 2024 System load: 0.52 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.35 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.35: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 Fri Mar 29 03:18:24 UTC 2024 System load: 0.52 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.35 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Fri Mar 29 03:18:23 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 a426c55e-5c41-463d-8482-e77b1111c79a | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 4926c83a-d28d-442e-bcec-de224276e7fd 24fa5070-d60f-411e-b4cf-f0543bd95233 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 4926c83a-d28d-442e-bcec-de224276e7fd | 24fa5070-d60f-411e-b4cf-f0543bd95233 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 4926c83a-d28d-442e-bcec-de224276e7fd 1: 24fa5070-d60f-411e-b4cf-f0543bd95233 @{vnf_id_list} = [ 4926c83a-d28d-442e-bcec-de224276e7fd | 24fa5070-d60f-411e-b4cf-f0543bd95233 ] ${vnf_id} @{vnf_id_list} 4926c83a-d28d-442e-bcec-de224276e7fd ${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 4926c83a-d28d-442e-bcec-de224276e7fd --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = cbfef81d-7f4d-4923-a110-b3384080cfd0 ${stdout} Logs the given message with the given level. cbfef81d-7f4d-4923-a110-b3384080cfd0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = cbfef81d-7f4d-4923-a110-b3384080cfd0 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ cbfef81d-7f4d-4923-a110-b3384080cfd0 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} cbfef81d-7f4d-4923-a110-b3384080cfd0 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 24fa5070-d60f-411e-b4cf-f0543bd95233 ${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 24fa5070-d60f-411e-b4cf-f0543bd95233 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d ${stdout} Logs the given message with the given level. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dd260ae0-6ffb-48ec-9b1b-fa6af4191212 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 fa4404b2-484e-4d79-a414-7d4e5f3d096d @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | fa4404b2-484e-4d79-a414-7d4e5f3d096d ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} dd260ae0-6ffb-48ec-9b1b-fa6af4191212 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. fa4404b2-484e-4d79-a414-7d4e5f3d096d ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} cbfef81d-7f4d-4923-a110-b3384080cfd0 ${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 cbfef81d-7f4d-4923-a110-b3384080cfd0 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${stdout} Logs the given message with the given level. [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['93378d3a-3f8d-4f80-aa5d-52dabe2aeff4'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 ${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 dd260ae0-6ffb-48ec-9b1b-fa6af4191212 -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``. 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 ${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 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 -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``. fa4404b2-484e-4d79-a414-7d4e5f3d096d ${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 fa4404b2-484e-4d79-a414-7d4e5f3d096d -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. cbfef81d-7f4d-4923-a110-b3384080cfd0 dd260ae0-6ffb-48ec-9b1b-fa6af4191212 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e fa4404b2-484e-4d79-a414-7d4e5f3d096d 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 93378d3a-3f8d-4f80-aa5d-52dabe2aeff4 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 210d1002-a4fd-4206-be6d-b4ca0d40c903 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.71 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d9df4b9b-8baa-42f1-8032-4b084c2a1ffc | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.38 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 210d1002-a4fd-4206-be6d-b4ca0d40c903 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.71 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d9df4b9b-8baa-42f1-8032-4b084c2a1ffc | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.38 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 210d1002-a4fd-4206-be6d-b4ca0d40c903 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.71 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d9df4b9b-8baa-42f1-8032-4b084c2a1ffc | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.38 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 210d1002-a4fd-4206-be6d-b4ca0d40c903 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.71 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d9df4b9b-8baa-42f1-8032-4b084c2a1ffc | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.38 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 210d1002-a4fd-4206-be6d-b4ca0d40c903 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.71 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | d9df4b9b-8baa-42f1-8032-4b084c2a1ffc | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.38 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.134.199; osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.134.52; osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.134.69; osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | cbfef81d-7f4d-4923-a110-b3384080cfd0 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.164 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------+------------------------------+--------------------------+ | b419812b-57f3-4494-ab58-2c8116aa6f61 | fail_01_8742-vnf-mgmtVM-0 | ACTIVE | fail_01_8742-internal=192.168.187.4; osm-ext=172.21.248.57 | ubuntu20.04 | simple_requires-1-1-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.35 | ubuntu18.04 | simple_requires-1-1-flv | | fa4404b2-484e-4d79-a414-7d4e5f3d096d | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.70 | ubuntu18.04 | simple_requires-1-1-flv | | dd260ae0-6ffb-48ec-9b1b-fa6af4191212 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.86 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | b419812b-57f3-4494-ab58-2c8116aa6f61 | fail_01_8742-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.57 | ubuntu20.04 | simple_requires-1-1-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} 93378d3a-3f8d-4f80-aa5d-52dabe2aeff4 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 93378d3a-3f8d-4f80-aa5d-52dabe2aeff4 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 93378d3a-3f8d-4f80-aa5d-52dabe2aeff4 | 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} cbfef81d-7f4d-4923-a110-b3384080cfd0 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server cbfef81d-7f4d-4923-a110-b3384080cfd0 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 cbfef81d-7f4d-4923-a110-b3384080cfd0 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'cbfef81d-7f4d-4923-a110-b3384080cfd0' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'cbfef81d-7f4d-4923-a110-b3384080cfd0' 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. dd260ae0-6ffb-48ec-9b1b-fa6af4191212 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server dd260ae0-6ffb-48ec-9b1b-fa6af4191212 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 dd260ae0-6ffb-48ec-9b1b-fa6af4191212 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'dd260ae0-6ffb-48ec-9b1b-fa6af4191212' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'dd260ae0-6ffb-48ec-9b1b-fa6af4191212' 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. 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e 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 11ae06e7-afbb-4bc8-b934-24d28c3a5e5e -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '11ae06e7-afbb-4bc8-b934-24d28c3a5e5e' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '11ae06e7-afbb-4bc8-b934-24d28c3a5e5e' 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. fa4404b2-484e-4d79-a414-7d4e5f3d096d Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server fa4404b2-484e-4d79-a414-7d4e5f3d096d 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 fa4404b2-484e-4d79-a414-7d4e5f3d096d -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'fa4404b2-484e-4d79-a414-7d4e5f3d096d' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'fa4404b2-484e-4d79-a414-7d4e5f3d096d' 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. 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 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 2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '2b0e3eda-4860-4d95-a8e6-7dc7d1e8abd2' 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 8311fca6-af17-4636-b239-39289ef917df ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8311fca6-af17-4636-b239-39289ef917df '%{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 9641d591-4347-49da-a246-26c94f7b95a4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 9641d591-4347-49da-a246-26c94f7b95a4 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 f00491a5-1ffb-485a-9795-dfb7ff8d82d4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = f00491a5-1ffb-485a-9795-dfb7ff8d82d4 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} = 56b665cd-5ee9-45f7-a327-4ef84932a8e3 ${stdout} Logs the given message with the given level. 56b665cd-5ee9-45f7-a327-4ef84932a8e3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 56b665cd-5ee9-45f7-a327-4ef84932a8e3 ${ns_id} Logs the given message with the given level. 56b665cd-5ee9-45f7-a327-4ef84932a8e3 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | f7a6825e-7b4c-4974-8892-18b18e06d5fd | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | f7a6825e-7b4c-4974-8892-18b18e06d5fd | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+------------------------------+----------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+------------------------------+--------------------------+ | 2acf3b5e-fd2b-4a18-8c5d-8d1ce5d18c16 | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 396fc89b-591d-4d13-972d-ed5097e337b9 | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | a9e003f5-d498-49ff-a6d3-d47ac9810253 | hfcloudinit-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 0bffafe7-2a27-4f29-ac2d-0e5048c39c87 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.184.46; osm-ext=172.21.249.154 | ubuntu20.04 | simple_requires-1-1-flv | | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ | 2acf3b5e-fd2b-4a18-8c5d-8d1ce5d18c16 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.174.33; hfcloudinit-internal=192.168.38.252 | ubuntu20.04 | simple_requires-1-1-flv | | 396fc89b-591d-4d13-972d-ed5097e337b9 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.38.61; osm-ext=172.21.249.5 | ubuntu20.04 | simple_requires-1-1-flv | | a9e003f5-d498-49ff-a6d3-d47ac9810253 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.174.137; hfcloudinit-internal=192.168.184.209 | ubuntu20.04 | simple_requires-1-1-flv | | 0bffafe7-2a27-4f29-ac2d-0e5048c39c87 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.184.46; osm-ext=172.21.249.154 | ubuntu20.04 | simple_requires-1-1-flv | | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+---------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ | 2acf3b5e-fd2b-4a18-8c5d-8d1ce5d18c16 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.174.33; hfcloudinit-internal=192.168.38.252 | ubuntu20.04 | simple_requires-1-1-flv | | 396fc89b-591d-4d13-972d-ed5097e337b9 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.38.61; osm-ext=172.21.249.5 | ubuntu20.04 | simple_requires-1-1-flv | | a9e003f5-d498-49ff-a6d3-d47ac9810253 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.174.137; hfcloudinit-internal=192.168.184.209 | ubuntu20.04 | simple_requires-1-1-flv | | 0bffafe7-2a27-4f29-ac2d-0e5048c39c87 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.184.46; osm-ext=172.21.249.154 | ubuntu20.04 | simple_requires-1-1-flv | | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03:21:48 | BUILDING | INSTANTIATING (f56be792-9ef8-4e1a-a7ed-25e272bc31ba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------+------------------------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------+------------------------------+--------------------------+ | 2acf3b5e-fd2b-4a18-8c5d-8d1ce5d18c16 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 396fc89b-591d-4d13-972d-ed5097e337b9 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.38.61; osm-ext=172.21.249.5 | ubuntu20.04 | simple_requires-1-1-flv | | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03: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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 2acf3b5e-fd2b-4a18-8c5d-8d1ce5d18c16 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 396fc89b-591d-4d13-972d-ed5097e337b9 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.5 | ubuntu20.04 | simple_requires-1-1-flv | | 30947f15-9814-4372-a274-3ce677986b5b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 6add5887-0f0b-4ada-bdaf-b01f209d5b18 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 5c933893-22c7-4719-9078-867e37bd1733 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.40 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | e3fc0190-e060-48b2-87ea-e4f609469cc1 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | 2024-03-29T03: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} = 56b665cd-5ee9-45f7-a327-4ef84932a8e3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 56b665cd-5ee9-45f7-a327-4ef84932a8e3 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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 8533a431-1875-47df-a30e-d352a426f3e3 ${stdout} Logs the given message with the given level. 8533a431-1875-47df-a30e-d352a426f3e3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 8533a431-1875-47df-a30e-d352a426f3e3 ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = 8533a431-1875-47df-a30e-d352a426f3e3 @{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 8533a431-1875-47df-a30e-d352a426f3e3 --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} = 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${rc} ${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 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --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 526f3a5e-c4aa-4681-9ac1-93d10fd6c939 --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 8533a431-1875-47df-a30e-d352a426f3e3 --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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 8533a431-1875-47df-a30e-d352a426f3e3 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 | 8533a431-1875-47df-a30e-d352a426f3e3 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 1: 8533a431-1875-47df-a30e-d352a426f3e3 @{vnf_id_list} = [ aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 | 8533a431-1875-47df-a30e-d352a426f3e3 ] ${vnf_id_list} Logs the given message with the given level. ['aaaec27e-cb0c-469f-b22d-056c9d6cb3b7', '8533a431-1875-47df-a30e-d352a426f3e3'] ${vnf_id} @{vnf_id_list} aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${vnf_id} Logs the given message with the given level. aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${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 aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${stdout} Logs the given message with the given level. 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 6add5887-0f0b-4ada-bdaf-b01f209d5b18 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 8533a431-1875-47df-a30e-d352a426f3e3 ${vnf_id} Logs the given message with the given level. 8533a431-1875-47df-a30e-d352a426f3e3 ${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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 ${stdout} Logs the given message with the given level. 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 72883719-bd4f-48ae-8b36-03622d15af50 | 30947f15-9814-4372-a274-3ce677986b5b | c969d2a0-b421-425d-8dba-1962cb2b4359 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${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 6add5887-0f0b-4ada-bdaf-b01f209d5b18 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${stdout} Logs the given message with the given level. [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['809adb77-e506-4cc6-974a-6eaa5438a88f'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 72883719-bd4f-48ae-8b36-03622d15af50 ${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 72883719-bd4f-48ae-8b36-03622d15af50 -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``. 30947f15-9814-4372-a274-3ce677986b5b ${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 30947f15-9814-4372-a274-3ce677986b5b -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``. c969d2a0-b421-425d-8dba-1962cb2b4359 ${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 c969d2a0-b421-425d-8dba-1962cb2b4359 -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. 6add5887-0f0b-4ada-bdaf-b01f209d5b18 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 809adb77-e506-4cc6-974a-6eaa5438a88f 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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 ${stdout} Logs the given message with the given level. 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 72883719-bd4f-48ae-8b36-03622d15af50 | 30947f15-9814-4372-a274-3ce677986b5b | c969d2a0-b421-425d-8dba-1962cb2b4359 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 72883719-bd4f-48ae-8b36-03622d15af50 | 30947f15-9814-4372-a274-3ce677986b5b | c969d2a0-b421-425d-8dba-1962cb2b4359 ] ${vdu_charm_ids}[1] Logs the given message with the given level. 30947f15-9814-4372-a274-3ce677986b5b @{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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.247 192.168.148.100 172.21.249.166 192.168.148.196 172.21.248.253 192.168.148.194 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.247 | 192.168.148.100 | 172.21.249.166 | 192.168.148.196 | 172.21.248.253 | 192.168.148.194 ] @{charm_ip_list} = [ 172.21.248.247 | 192.168.148.100 | 172.21.249.166 | 192.168.148.196 | 172.21.248.253 | 192.168.148.194 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.248.247 | 192.168.148.100 | 172.21.249.166 | 192.168.148.196 | 172.21.248.253 | 192.168.148.194 ] 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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.206 ${stdout} Logs the given message with the given level. 172.21.249.206 ${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.206 ${ip_addr} Logs the given message with the given level. 172.21.249.206 ${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.206 ${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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${stdout} Logs the given message with the given level. aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${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 aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${stdout} Logs the given message with the given level. 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 6add5887-0f0b-4ada-bdaf-b01f209d5b18 ${vdu_volumes_id} Logs the given message with the given level. 6add5887-0f0b-4ada-bdaf-b01f209d5b18 @{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 aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.206 ${rc} ${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.206 ] @{volumes_ip_list} = [ 172.21.249.206 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.249.206 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.249.206 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 30947f15-9814-4372-a274-3ce677986b5b 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 c969d2a0-b421-425d-8dba-1962cb2b4359 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 6add5887-0f0b-4ada-bdaf-b01f209d5b18 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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 --vnf aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf 8533a431-1875-47df-a30e-d352a426f3e3 --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} = 2ea79221-76e9-45d6-8b11-fbf970996fdd ${rc} ${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 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 2ea79221-76e9-45d6-8b11-fbf970996fdd ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2ea79221-76e9-45d6-8b11-fbf970996fdd --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 2ea79221-76e9-45d6-8b11-fbf970996fdd --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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${stdout} Logs the given message with the given level. 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 72883719-bd4f-48ae-8b36-03622d15af50 | b2ac11ad-3cf6-425c-9281-dd6dc891767b | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ] ${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 aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${stdout} Logs the given message with the given level. 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.166 ${rc} ${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.166 ${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.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/pro System information as of Fri Mar 29 03:33:30 UTC 2024 System load: 0.71 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.166 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.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/pro System information as of Fri Mar 29 03:33:32 UTC 2024 System load: 0.71 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.166 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Fri Mar 29 03:33:31 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 56b665cd-5ee9-45f7-a327-4ef84932a8e3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 8533a431-1875-47df-a30e-d352a426f3e3 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 | 8533a431-1875-47df-a30e-d352a426f3e3 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 1: 8533a431-1875-47df-a30e-d352a426f3e3 @{vnf_id_list} = [ aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 | 8533a431-1875-47df-a30e-d352a426f3e3 ] ${vnf_id} @{vnf_id_list} aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 ${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 aaaec27e-cb0c-469f-b22d-056c9d6cb3b7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${stdout} Logs the given message with the given level. 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 81b8d4fd-a77e-46f2-9c89-7849abce0f38 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 8533a431-1875-47df-a30e-d352a426f3e3 ${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 8533a431-1875-47df-a30e-d352a426f3e3 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${stdout} Logs the given message with the given level. 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 72883719-bd4f-48ae-8b36-03622d15af50 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 72883719-bd4f-48ae-8b36-03622d15af50 | b2ac11ad-3cf6-425c-9281-dd6dc891767b | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 72883719-bd4f-48ae-8b36-03622d15af50 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. b2ac11ad-3cf6-425c-9281-dd6dc891767b ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 81b8d4fd-a77e-46f2-9c89-7849abce0f38 ${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 81b8d4fd-a77e-46f2-9c89-7849abce0f38 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${stdout} Logs the given message with the given level. [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '809adb77-e506-4cc6-974a-6eaa5438a88f'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['809adb77-e506-4cc6-974a-6eaa5438a88f'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 72883719-bd4f-48ae-8b36-03622d15af50 ${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 72883719-bd4f-48ae-8b36-03622d15af50 -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``. b2ac11ad-3cf6-425c-9281-dd6dc891767b ${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 b2ac11ad-3cf6-425c-9281-dd6dc891767b -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``. a98e4deb-e96c-42fb-8392-8f7ec8fb3249 ${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 a98e4deb-e96c-42fb-8392-8f7ec8fb3249 -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. 6add5887-0f0b-4ada-bdaf-b01f209d5b18 72883719-bd4f-48ae-8b36-03622d15af50 30947f15-9814-4372-a274-3ce677986b5b c969d2a0-b421-425d-8dba-1962cb2b4359 81b8d4fd-a77e-46f2-9c89-7849abce0f38 b2ac11ad-3cf6-425c-9281-dd6dc891767b a98e4deb-e96c-42fb-8392-8f7ec8fb3249 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 809adb77-e506-4cc6-974a-6eaa5438a88f 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a269d03c-9d7b-4e72-a0b6-d80705c60e4a | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.170.47 | ubuntu18.04 | simple_requires-1-1-flv | | cc369e38-5115-4a6f-86be-3fdcc6fa9fd7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.5 | ubuntu18.04 | simple_requires-1-1-flv | | 2b20d12f-0875-4deb-af6d-77085cbed643 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.30; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.233, 192.168.170.29 | ubuntu18.04 | simple_requires-1-1-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | a269d03c-9d7b-4e72-a0b6-d80705c60e4a | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.170.47 | ubuntu18.04 | simple_requires-1-1-flv | | cc369e38-5115-4a6f-86be-3fdcc6fa9fd7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.5 | ubuntu18.04 | simple_requires-1-1-flv | | 2b20d12f-0875-4deb-af6d-77085cbed643 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.30; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.233, 192.168.170.29 | ubuntu18.04 | simple_requires-1-1-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | a269d03c-9d7b-4e72-a0b6-d80705c60e4a | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.170.47 | ubuntu18.04 | simple_requires-1-1-flv | | cc369e38-5115-4a6f-86be-3fdcc6fa9fd7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.5 | ubuntu18.04 | simple_requires-1-1-flv | | 2b20d12f-0875-4deb-af6d-77085cbed643 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.30; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.233, 192.168.170.29 | ubuntu18.04 | simple_requires-1-1-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a269d03c-9d7b-4e72-a0b6-d80705c60e4a | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.170; slicebasic.slice-nsd_vnfd_vld_dat=192.168.170.47 | ubuntu18.04 | simple_requires-1-1-flv | | cc369e38-5115-4a6f-86be-3fdcc6fa9fd7 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 2b20d12f-0875-4deb-af6d-77085cbed643 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.30; slicebasic.slice-nsd_vnfd_vld_dat=192.168.103.233, 192.168.170.29 | ubuntu18.04 | simple_requires-1-1-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | BUILD | | ubuntu18.04 | osm.heal02_950920 | | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.219.219; osm-ext=172.21.249.58 | ubuntu18.04 | osm.heal02_950920 | | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.148.194; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.148.196; osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.148.100; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.219.219; osm-ext=172.21.249.58 | ubuntu18.04 | osm.heal02_950920 | | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | a98e4deb-e96c-42fb-8392-8f7ec8fb3249 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | b2ac11ad-3cf6-425c-9281-dd6dc891767b | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.166 | ubuntu18.04 | simple_requires-1-1-flv | | 81b8d4fd-a77e-46f2-9c89-7849abce0f38 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.206 | ubuntu20.04 | several_volumes-VM-flv | | 72883719-bd4f-48ae-8b36-03622d15af50 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 41ea0df7-bdb0-4704-b804-181fc8bc4eb9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.129; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.170 | ubuntu18.04 | simple_requires-1-1-flv | | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.219.219; osm-ext=172.21.249.58 | ubuntu18.04 | osm.heal02_950920 | | 36229414-1cd9-494b-93e3-b402b525bae4 | heal_02-manual_scale_vnf-mgmtVM-1 | ERROR | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} 809adb77-e506-4cc6-974a-6eaa5438a88f Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 809adb77-e506-4cc6-974a-6eaa5438a88f 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 809adb77-e506-4cc6-974a-6eaa5438a88f | 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} 6add5887-0f0b-4ada-bdaf-b01f209d5b18 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 6add5887-0f0b-4ada-bdaf-b01f209d5b18 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 6add5887-0f0b-4ada-bdaf-b01f209d5b18 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '6add5887-0f0b-4ada-bdaf-b01f209d5b18' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '6add5887-0f0b-4ada-bdaf-b01f209d5b18' 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. 72883719-bd4f-48ae-8b36-03622d15af50 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 72883719-bd4f-48ae-8b36-03622d15af50 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 72883719-bd4f-48ae-8b36-03622d15af50 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '72883719-bd4f-48ae-8b36-03622d15af50' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '72883719-bd4f-48ae-8b36-03622d15af50' 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. 30947f15-9814-4372-a274-3ce677986b5b Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 30947f15-9814-4372-a274-3ce677986b5b 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 30947f15-9814-4372-a274-3ce677986b5b -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '30947f15-9814-4372-a274-3ce677986b5b' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '30947f15-9814-4372-a274-3ce677986b5b' 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. c969d2a0-b421-425d-8dba-1962cb2b4359 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server c969d2a0-b421-425d-8dba-1962cb2b4359 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 c969d2a0-b421-425d-8dba-1962cb2b4359 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'c969d2a0-b421-425d-8dba-1962cb2b4359' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'c969d2a0-b421-425d-8dba-1962cb2b4359' 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. 81b8d4fd-a77e-46f2-9c89-7849abce0f38 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 81b8d4fd-a77e-46f2-9c89-7849abce0f38 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 81b8d4fd-a77e-46f2-9c89-7849abce0f38 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '81b8d4fd-a77e-46f2-9c89-7849abce0f38' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '81b8d4fd-a77e-46f2-9c89-7849abce0f38' 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. b2ac11ad-3cf6-425c-9281-dd6dc891767b Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server b2ac11ad-3cf6-425c-9281-dd6dc891767b 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 b2ac11ad-3cf6-425c-9281-dd6dc891767b -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'b2ac11ad-3cf6-425c-9281-dd6dc891767b' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'b2ac11ad-3cf6-425c-9281-dd6dc891767b' 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. a98e4deb-e96c-42fb-8392-8f7ec8fb3249 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server a98e4deb-e96c-42fb-8392-8f7ec8fb3249 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 a98e4deb-e96c-42fb-8392-8f7ec8fb3249 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'a98e4deb-e96c-42fb-8392-8f7ec8fb3249' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'a98e4deb-e96c-42fb-8392-8f7ec8fb3249' 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 30cccb55-353d-43c5-ae5b-06895a8a477b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 30cccb55-353d-43c5-ae5b-06895a8a477b 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 b63e08c1-1cc4-4b1e-81f0-a6645bbfb69f ${rc} ${success_return_code} Fails if objects are unequal after 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} = b63e08c1-1cc4-4b1e-81f0-a6645bbfb69f 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} = 425cfba1-567c-4cdc-843b-4f03b0e60dbe ${stdout} Logs the given message with the given level. 425cfba1-567c-4cdc-843b-4f03b0e60dbe ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 425cfba1-567c-4cdc-843b-4f03b0e60dbe ${ns_id} Logs the given message with the given level. 425cfba1-567c-4cdc-843b-4f03b0e60dbe ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | fcc2a2a8-2458-4cbe-970a-098557263aba | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 41ea0df7-bdb0-4704-b804-181fc8bc4eb9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.25.234 | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.129; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.170 | ubuntu18.04 | simple_requires-1-1-flv | | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.219.219; osm-ext=172.21.249.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | BUILDING | INSTANTIATING (37d40deb-32f3-4c56-9545-9c5d7fcbf81a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | BUILDING | INSTANTIATING (37d40deb-32f3-4c56-9545-9c5d7fcbf81a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | bc294783-b514-4cff-918f-581464a449f5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | fcc2a2a8-2458-4cbe-970a-098557263aba | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.219.101; osm-ext=172.21.248.58 | ubuntu18.04 | osm.heal02_950920 | | 41ea0df7-bdb0-4704-b804-181fc8bc4eb9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.25.234 | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.129; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.170 | ubuntu18.04 | simple_requires-1-1-flv | | 5187093e-ad09-4c00-9a8b-9df7999143d2 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.219.219; osm-ext=172.21.249.58 | ubuntu18.04 | osm.heal02_950920 | | 0c31565d-f7bf-4188-8fc4-81bc096f285b | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.219.171; osm-ext=172.21.248.79 | ubuntu18.04 | osm.heal02_950920 | | 13bffa36-ad41-465c-9e21-652bc2529d06 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | BUILDING | INSTANTIATING (37d40deb-32f3-4c56-9545-9c5d7fcbf81a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | BUILDING | INSTANTIATING (37d40deb-32f3-4c56-9545-9c5d7fcbf81a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | b7577776-6ec5-497d-9ed8-1039d8e7c161 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.229 | ubuntu18.04 | simple_requires-1-1-flv | | bc294783-b514-4cff-918f-581464a449f5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 41ea0df7-bdb0-4704-b804-181fc8bc4eb9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.25.234 | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.129; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.170 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | b7577776-6ec5-497d-9ed8-1039d8e7c161 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.229 | ubuntu18.04 | simple_requires-1-1-flv | | bc294783-b514-4cff-918f-581464a449f5 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 41ea0df7-bdb0-4704-b804-181fc8bc4eb9 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.25.234 | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 4f01209a-5174-43e0-be62-a0febf330e70 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.129; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.170 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 2024-03-29T03:36:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 425cfba1-567c-4cdc-843b-4f03b0e60dbe ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 425cfba1-567c-4cdc-843b-4f03b0e60dbe 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 01ab363b-8893-447f-84d2-9917783d7278 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 01ab363b-8893-447f-84d2-9917783d7278 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 01ab363b-8893-447f-84d2-9917783d7278 @{vnf_id_list} = [ 01ab363b-8893-447f-84d2-9917783d7278 ] ${vnf_id_list} Logs the given message with the given level. ['01ab363b-8893-447f-84d2-9917783d7278'] ${vnf_id} @{vnf_id_list} 01ab363b-8893-447f-84d2-9917783d7278 ${vnf_id} Logs the given message with the given level. 01ab363b-8893-447f-84d2-9917783d7278 ${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 01ab363b-8893-447f-84d2-9917783d7278 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = bc294783-b514-4cff-918f-581464a449f5 ${stdout} Logs the given message with the given level. bc294783-b514-4cff-918f-581464a449f5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = bc294783-b514-4cff-918f-581464a449f5 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ bc294783-b514-4cff-918f-581464a449f5 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. bc294783-b514-4cff-918f-581464a449f5 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.73 ${stdout} Logs the given message with the given level. 172.21.249.73 ${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.73 ${ip_addr} Logs the given message with the given level. 172.21.249.73 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.73 ${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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 01ab363b-8893-447f-84d2-9917783d7278 ${stdout} Logs the given message with the given level. 01ab363b-8893-447f-84d2-9917783d7278 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 01ab363b-8893-447f-84d2-9917783d7278 ${vnf_autoheal_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_autoheal_id} = 01ab363b-8893-447f-84d2-9917783d7278 ${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 01ab363b-8893-447f-84d2-9917783d7278 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = bc294783-b514-4cff-918f-581464a449f5 ${stdout} Logs the given message with the given level. bc294783-b514-4cff-918f-581464a449f5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = bc294783-b514-4cff-918f-581464a449f5 ${vdu_autoheal_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_autoheal_id} = bc294783-b514-4cff-918f-581464a449f5 ${vdu_autoheal_id} Logs the given message with the given level. bc294783-b514-4cff-918f-581464a449f5 @{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 01ab363b-8893-447f-84d2-9917783d7278 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.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'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.73 ] @{autoheal_ip_list} = [ 172.21.249.73 ] @{autoheal_ip_list} @{autoheal_ip_list} Makes a variable available everywhere within the scope of the current suite. @{autoheal_ip_list} = [ 172.21.249.73 ] @{autoheal_ip_list} Logs the given message with the given level. 172.21.249.73 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 bc294783-b514-4cff-918f-581464a449f5 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | 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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d0085674-cbd7-4992-84eb-f5be058e5a0d ${stdout} Logs the given message with the given level. d0085674-cbd7-4992-84eb-f5be058e5a0d ${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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = d0085674-cbd7-4992-84eb-f5be058e5a0d ${stdout} Logs the given message with the given level. d0085674-cbd7-4992-84eb-f5be058e5a0d ${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} = d0085674-cbd7-4992-84eb-f5be058e5a0d ${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 d0085674-cbd7-4992-84eb-f5be058e5a0d --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id d0085674-cbd7-4992-84eb-f5be058e5a0d ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d0085674-cbd7-4992-84eb-f5be058e5a0d --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 d0085674-cbd7-4992-84eb-f5be058e5a0d --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 01ab363b-8893-447f-84d2-9917783d7278 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.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'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.73 ] @{ip_list} = [ 172.21.249.73 ] @{ip_list} Logs the given message with the given level. 172.21.249.73 ${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 01ab363b-8893-447f-84d2-9917783d7278 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2f72be36-462f-49a6-b618-6af06252bfe2 ${stdout} Logs the given message with the given level. 2f72be36-462f-49a6-b618-6af06252bfe2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2f72be36-462f-49a6-b618-6af06252bfe2 ${id} Logs the given message with the given level. 2f72be36-462f-49a6-b618-6af06252bfe2 ${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 425cfba1-567c-4cdc-843b-4f03b0e60dbe | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 01ab363b-8893-447f-84d2-9917783d7278 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 01ab363b-8893-447f-84d2-9917783d7278 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 01ab363b-8893-447f-84d2-9917783d7278 @{vnf_id_list} = [ 01ab363b-8893-447f-84d2-9917783d7278 ] ${vnf_id} @{vnf_id_list} 01ab363b-8893-447f-84d2-9917783d7278 ${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 01ab363b-8893-447f-84d2-9917783d7278 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2f72be36-462f-49a6-b618-6af06252bfe2 ${stdout} Logs the given message with the given level. 2f72be36-462f-49a6-b618-6af06252bfe2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2f72be36-462f-49a6-b618-6af06252bfe2 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 2f72be36-462f-49a6-b618-6af06252bfe2 ] ${id} @{vdu_ids} 2f72be36-462f-49a6-b618-6af06252bfe2 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. bc294783-b514-4cff-918f-581464a449f5 2f72be36-462f-49a6-b618-6af06252bfe2 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 | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 2f72be36-462f-49a6-b618-6af06252bfe2 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.73 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | b9602609-2053-4ff0-9700-5949d5866467 | heal_03-manual_scale_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.221.115; osm-ext=172.21.249.188 | ubuntu18.04 | simple_requires-1-1-flv | | 944159e2-a1b4-4dcb-aaba-6d6d6512aeda | heal_03-manual_scale_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.221.234; osm-ext=172.21.249.150 | ubuntu18.04 | simple_requires-1-1-flv | | f546a8ba-0feb-4510-8f0a-ceea4f9628c1 | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.221.235; osm-ext=172.21.249.246 | ubuntu18.04 | simple_requires-1-1-flv | | 21e0cf17-9292-47d7-9201-1cd61e0b75f0 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.249.151 | ubuntu20.04 | several_volumes-VM-flv | | b7577776-6ec5-497d-9ed8-1039d8e7c161 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.142; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.229 | ubuntu18.04 | simple_requires-1-1-flv | | 94f69b86-5a80-408a-9886-dcb8e3d0b9c8 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.203; slicebasic.slice-nsd_vnfd_vld_dat=192.168.112.90, 192.168.25.68 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ | b9602609-2053-4ff0-9700-5949d5866467 | heal_03-manual_scale_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.221.115; osm-ext=172.21.249.188 | ubuntu18.04 | simple_requires-1-1-flv | | 944159e2-a1b4-4dcb-aaba-6d6d6512aeda | heal_03-manual_scale_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.221.234; osm-ext=172.21.249.150 | ubuntu18.04 | simple_requires-1-1-flv | | f546a8ba-0feb-4510-8f0a-ceea4f9628c1 | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.221.235; osm-ext=172.21.249.246 | ubuntu18.04 | simple_requires-1-1-flv | | 21e0cf17-9292-47d7-9201-1cd61e0b75f0 | heal_03-several_volumes_-several_volumes-VM-0 | DELETED | | ubuntu20.04 | several_volumes-VM-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} bc294783-b514-4cff-918f-581464a449f5 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server bc294783-b514-4cff-918f-581464a449f5 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 bc294783-b514-4cff-918f-581464a449f5 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'bc294783-b514-4cff-918f-581464a449f5' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'bc294783-b514-4cff-918f-581464a449f5' 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. 2f72be36-462f-49a6-b618-6af06252bfe2 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 2f72be36-462f-49a6-b618-6af06252bfe2 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 2f72be36-462f-49a6-b618-6af06252bfe2 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '2f72be36-462f-49a6-b618-6af06252bfe2' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '2f72be36-462f-49a6-b618-6af06252bfe2' 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} = 61800b13-a358-45e3-a536-5863417a120e ${stdout} Logs the given message with the given level. 61800b13-a358-45e3-a536-5863417a120e ${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 | 61800b13-a358-45e3-a536-5863417a120e | 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 | 61800b13-a358-45e3-a536-5863417a120e | 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 | "61800b13-a358-45e3-a536-5863417a120e" | | name | "k8s02" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711683731.7315905, | | | "modified": 1711683737.0528715, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711683731.7316236, | | | "statusEnteredTime": 1711683731.7316236, | | | "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": "61800b13-a358-45e3-a536-5863417a120e", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "61800b13-a358-45e3-a536-5863417a120e", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "61800b13-a358-45e3-a536-5863417a120e", | | | "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 | 61800b13-a358-45e3-a536-5863417a120e | 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 | 61800b13-a358-45e3-a536-5863417a120e | 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 fb19805f-5aff-4c92-b45c-bc1c1f4189ba ${rc} ${success_return_code} Fails if objects are unequal after 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} = fb19805f-5aff-4c92-b45c-bc1c1f4189ba 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 3690cb8e-c61f-465d-b98f-c3c46a8ab7fd ${rc} ${success_return_code} Fails if objects are unequal after 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} = 3690cb8e-c61f-465d-b98f-c3c46a8ab7fd 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} = 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 ${stdout} Logs the given message with the given level. 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 ${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 | 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 | 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 | 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 | 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 | "5c0fd3c3-8e6e-40eb-8104-69623b82ea89" | | name | "k8s03" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711683791.174319, | | | "modified": 1711683797.4949186, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711683791.1743536, | | | "statusEnteredTime": 1711683791.1743536, | | | "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": "5c0fd3c3-8e6e-40eb-8104-69623b82ea89", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "5c0fd3c3-8e6e-40eb-8104-69623b82ea89", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "5c0fd3c3-8e6e-40eb-8104-69623b82ea89", | | | "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 | 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 | 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 | 5c0fd3c3-8e6e-40eb-8104-69623b82ea89 | 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} = 376744c0-00e2-40eb-9c86-976b08336111 ${stdout} Logs the given message with the given level. 376744c0-00e2-40eb-9c86-976b08336111 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 376744c0-00e2-40eb-9c86-976b08336111 ${ns_id} Logs the given message with the given level. 376744c0-00e2-40eb-9c86-976b08336111 ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2ee865d4-4492-4d72-a2c9-c5cfa4cbad38 | sol003-instance--1-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.232 | ubuntu20.04 | simple_requires-1-1-flv | | 9fe56541-fa05-4268-8d3c-3c52aa05fd54 | sol003-instance--1-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.174 | ubuntu20.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43:48 | BUILDING | INSTANTIATING (2f690b52-af08-4af6-abf6-75f24f3760d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43:48 | BUILDING | INSTANTIATING (2f690b52-af08-4af6-abf6-75f24f3760d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43:48 | BUILDING | INSTANTIATING (2f690b52-af08-4af6-abf6-75f24f3760d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43:48 | BUILDING | INSTANTIATING (2f690b52-af08-4af6-abf6-75f24f3760d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43: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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | 376744c0-00e2-40eb-9c86-976b08336111 | 2024-03-29T03:43: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} = 376744c0-00e2-40eb-9c86-976b08336111 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 376744c0-00e2-40eb-9c86-976b08336111 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} = f25f4fe9-3dfe-4cf1-9546-94cb4c088867 ${rc} ${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 f25f4fe9-3dfe-4cf1-9546-94cb4c088867 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f25f4fe9-3dfe-4cf1-9546-94cb4c088867 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f25f4fe9-3dfe-4cf1-9546-94cb4c088867 --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 f25f4fe9-3dfe-4cf1-9546-94cb4c088867 --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} = f25f4fe9-3dfe-4cf1-9546-94cb4c088867 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 8a85a64e-f8ab-47ac-8c6f-6891b245634d ${rc} ${success_return_code} Fails if objects are unequal after 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} = 8a85a64e-f8ab-47ac-8c6f-6891b245634d 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 82fe638b-a6f6-499a-81a7-d89bcbd81aa8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 82fe638b-a6f6-499a-81a7-d89bcbd81aa8 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} = c98da46d-9ba7-4dca-b131-ecc5972edd90 ${stdout} Logs the given message with the given level. c98da46d-9ba7-4dca-b131-ecc5972edd90 ${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 | c98da46d-9ba7-4dca-b131-ecc5972edd90 | 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 | c98da46d-9ba7-4dca-b131-ecc5972edd90 | 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 | "c98da46d-9ba7-4dca-b131-ecc5972edd90" | | name | "k8s04" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711684046.0064054, | | | "modified": 1711684051.639025, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711684046.006449, | | | "statusEnteredTime": 1711684046.006449, | | | "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": "c98da46d-9ba7-4dca-b131-ecc5972edd90", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "c98da46d-9ba7-4dca-b131-ecc5972edd90", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "c98da46d-9ba7-4dca-b131-ecc5972edd90", | | | "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 | c98da46d-9ba7-4dca-b131-ecc5972edd90 | 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 | c98da46d-9ba7-4dca-b131-ecc5972edd90 | 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} = d84481af-411d-45ad-bdee-a419aad1bc76 ${stdout} Logs the given message with the given level. d84481af-411d-45ad-bdee-a419aad1bc76 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d84481af-411d-45ad-bdee-a419aad1bc76 ${ns_id} Logs the given message with the given level. d84481af-411d-45ad-bdee-a419aad1bc76 ${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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | BUILDING | INSTANTIATING (b3fba760-8cde-48ab-8c4b-dde2090f9e79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | BUILDING | INSTANTIATING (b3fba760-8cde-48ab-8c4b-dde2090f9e79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | BUILDING | INSTANTIATING (b3fba760-8cde-48ab-8c4b-dde2090f9e79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | BUILDING | INSTANTIATING (b3fba760-8cde-48ab-8c4b-dde2090f9e79) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 473f3cb9-8cfc-4fef-b95a-11da3a132a43 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | 9450e81f-d31b-4851-bdcf-de5e9558b2ca | osm-v140-merge-280 | ACTIVE | osm-ext=172.21.249.193 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --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 | d84481af-411d-45ad-bdee-a419aad1bc76 | 2024-03-29T03:48:03 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = d84481af-411d-45ad-bdee-a419aad1bc76 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} = d84481af-411d-45ad-bdee-a419aad1bc76 ${stdout} Logs the given message with the given level. d84481af-411d-45ad-bdee-a419aad1bc76 ${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} = d84481af-411d-45ad-bdee-a419aad1bc76 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d84481af-411d-45ad-bdee-a419aad1bc76 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 d84481af-411d-45ad-bdee-a419aad1bc76 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 4d2b5f09-d355-4570-810a-d969d57ac77a ${rc} ${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} = [ 4d2b5f09-d355-4570-810a-d969d57ac77a ] @{vnfr_list} = [ 4d2b5f09-d355-4570-810a-d969d57ac77a ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 4d2b5f09-d355-4570-810a-d969d57ac77a ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 4d2b5f09-d355-4570-810a-d969d57ac77a 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} = 6f337aab-d37b-4e1d-beb9-f22b71ed77fb ${rc} ${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 6f337aab-d37b-4e1d-beb9-f22b71ed77fb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 6f337aab-d37b-4e1d-beb9-f22b71ed77fb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6f337aab-d37b-4e1d-beb9-f22b71ed77fb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 6f337aab-d37b-4e1d-beb9-f22b71ed77fb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6f337aab-d37b-4e1d-beb9-f22b71ed77fb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 6f337aab-d37b-4e1d-beb9-f22b71ed77fb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6f337aab-d37b-4e1d-beb9-f22b71ed77fb --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 6f337aab-d37b-4e1d-beb9-f22b71ed77fb --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} = 6f337aab-d37b-4e1d-beb9-f22b71ed77fb 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 4d2b5f09-d355-4570-810a-d969d57ac77a --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} = 0e67921c-0ef7-469f-acb7-6a6b58f7a516 ${rc} ${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 0e67921c-0ef7-469f-acb7-6a6b58f7a516 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 0e67921c-0ef7-469f-acb7-6a6b58f7a516 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0e67921c-0ef7-469f-acb7-6a6b58f7a516 --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 0e67921c-0ef7-469f-acb7-6a6b58f7a516 --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} = 0e67921c-0ef7-469f-acb7-6a6b58f7a516 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 4d2b5f09-d355-4570-810a-d969d57ac77a --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_04 regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | c85540a6-28c6-4da1-a88a-4fdfca76855c | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 33fb2d40-26bd-40d5-97b0-a4ca39b5c90b ${rc} ${success_return_code} Fails if objects are unequal after 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} = 33fb2d40-26bd-40d5-97b0-a4ca39b5c90b 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 76abdd25-a5b1-4cc7-b328-1b0344f5bede ${rc} ${success_return_code} Fails if objects are unequal after 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} = 76abdd25-a5b1-4cc7-b328-1b0344f5bede 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} = 3193c59d-3020-4f7e-9d11-2af13134f38a ${stdout} Logs the given message with the given level. 3193c59d-3020-4f7e-9d11-2af13134f38a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 3193c59d-3020-4f7e-9d11-2af13134f38a ${ns_id} Logs the given message with the given level. 3193c59d-3020-4f7e-9d11-2af13134f38a ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | BUILDING | INSTANTIATING (4036e995-53e1-4b60-b732-c86c7ce1b837) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 3193c59d-3020-4f7e-9d11-2af13134f38a | 2024-03-29T03:51:36 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 3193c59d-3020-4f7e-9d11-2af13134f38a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 3193c59d-3020-4f7e-9d11-2af13134f38a 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 3193c59d-3020-4f7e-9d11-2af13134f38a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.29 ${stdout} Logs the given message with the given level. 172.21.248.29 ${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.29 ${ip_addr_1} Logs the given message with the given level. 172.21.248.29 ${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.29 ${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 3193c59d-3020-4f7e-9d11-2af13134f38a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.26 ${stdout} Logs the given message with the given level. 172.21.249.26 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.249.26 ${ip_addr_2} Logs the given message with the given level. 172.21.249.26 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.249.26 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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:54:32 UTC 2024 System load: 0.02 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.29 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-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.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:54:33 UTC 2024 System load: 0.12 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:54:35 UTC 2024 System load: 0.02 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.29 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:54:32 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:54:37 UTC 2024 System load: 0.12 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:54:34 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/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} = f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a ${rc} ${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 f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a --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 f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a --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} = f31fa2f5-04bd-4a7a-99ac-991a6c3ded0a ${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} = 5080c13d-c1b0-4a4a-b88a-730e23cdc63c ${rc} ${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 5080c13d-c1b0-4a4a-b88a-730e23cdc63c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5080c13d-c1b0-4a4a-b88a-730e23cdc63c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5080c13d-c1b0-4a4a-b88a-730e23cdc63c --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 5080c13d-c1b0-4a4a-b88a-730e23cdc63c --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} = 5080c13d-c1b0-4a4a-b88a-730e23cdc63c 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.29:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:55:20 UTC 2024 System load: 0.1 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.29 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:54:36 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:55:21 UTC 2024 System load: 0.05 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:54:38 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | aa0e84cb-83ef-4348-930b-1eae6129b4ef | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.46; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | b3b567a6-b762-457d-a6f2-209042d07bdd | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.45.162; osm-ext=172.21.248.29 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 7220506f-9884-4836-b1c3-6feb6b0ace99 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7220506f-9884-4836-b1c3-6feb6b0ace99 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 c050aaf9-8716-4157-81ac-fb74656d8d09 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c050aaf9-8716-4157-81ac-fb74656d8d09 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} = ea2c0916-4256-43c9-9652-d358d75829d4 ${stdout} Logs the given message with the given level. ea2c0916-4256-43c9-9652-d358d75829d4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = ea2c0916-4256-43c9-9652-d358d75829d4 ${ns_id} Logs the given message with the given level. ea2c0916-4256-43c9-9652-d358d75829d4 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | b73423af-1152-4cbd-a4df-f61de9a929a7 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.191; osm-ext=172.21.248.129 | ubuntu18.04 | simple_requires-1-1-flv | | 1f42f3b1-b829-4120-b7bc-b49bee03129e | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.144; osm-ext=172.21.249.228 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | b73423af-1152-4cbd-a4df-f61de9a929a7 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.191; osm-ext=172.21.248.129 | ubuntu18.04 | simple_requires-1-1-flv | | 1f42f3b1-b829-4120-b7bc-b49bee03129e | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.144; osm-ext=172.21.249.228 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | BUILDING | INSTANTIATING (e61d8615-0040-4c51-a754-1b28d572a50a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | b73423af-1152-4cbd-a4df-f61de9a929a7 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.191; osm-ext=172.21.248.129 | ubuntu18.04 | simple_requires-1-1-flv | | 1f42f3b1-b829-4120-b7bc-b49bee03129e | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.144; osm-ext=172.21.249.228 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57:28 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | b73423af-1152-4cbd-a4df-f61de9a929a7 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.191; osm-ext=172.21.248.129 | ubuntu18.04 | simple_requires-1-1-flv | | 1f42f3b1-b829-4120-b7bc-b49bee03129e | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.144; osm-ext=172.21.249.228 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | ea2c0916-4256-43c9-9652-d358d75829d4 | 2024-03-29T03:57: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} = ea2c0916-4256-43c9-9652-d358d75829d4 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} = ea2c0916-4256-43c9-9652-d358d75829d4 ${stdout} Logs the given message with the given level. ea2c0916-4256-43c9-9652-d358d75829d4 ${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} = ea2c0916-4256-43c9-9652-d358d75829d4 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = ea2c0916-4256-43c9-9652-d358d75829d4 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 ea2c0916-4256-43c9-9652-d358d75829d4 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.228 ${stdout} Logs the given message with the given level. 172.21.249.228 ${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.228 ${ip_addr_1} Logs the given message with the given level. 172.21.249.228 ${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.228 ${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 ea2c0916-4256-43c9-9652-d358d75829d4 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.129 ${stdout} Logs the given message with the given level. 172.21.248.129 ${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.129 ${ip_addr_2} Logs the given message with the given level. 172.21.248.129 ${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.129 cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.228:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:59:48 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.228 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-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.129: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 Fri Mar 29 03:59:50 UTC 2024 System load: 0.17 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.129 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.228:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 03:59:51 UTC 2024 System load: 0.04 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.228 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:59:48 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.129: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 Fri Mar 29 03:59:53 UTC 2024 System load: 0.16 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.129 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: Fri Mar 29 03:59:50 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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} = 9983d95c-e090-43ab-92b7-9217bdcfab33 ${rc} ${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 9983d95c-e090-43ab-92b7-9217bdcfab33 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9983d95c-e090-43ab-92b7-9217bdcfab33 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9983d95c-e090-43ab-92b7-9217bdcfab33 --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 9983d95c-e090-43ab-92b7-9217bdcfab33 --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} = 9983d95c-e090-43ab-92b7-9217bdcfab33 ${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} = b03c249d-3fdf-415f-a2fe-c98c16b76b73 ${rc} ${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 b03c249d-3fdf-415f-a2fe-c98c16b76b73 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id b03c249d-3fdf-415f-a2fe-c98c16b76b73 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b03c249d-3fdf-415f-a2fe-c98c16b76b73 --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 b03c249d-3fdf-415f-a2fe-c98c16b76b73 --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} = b03c249d-3fdf-415f-a2fe-c98c16b76b73 Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.228:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 04:00:35 UTC 2024 System load: 0.02 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.228 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 29 03:59:52 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.129: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 Fri Mar 29 04:00:37 UTC 2024 System load: 0.15 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.129 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: Fri Mar 29 03:59: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@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | b73423af-1152-4cbd-a4df-f61de9a929a7 | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.191; osm-ext=172.21.248.129 | ubuntu18.04 | simple_requires-1-1-flv | | 1f42f3b1-b829-4120-b7bc-b49bee03129e | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.178.144; osm-ext=172.21.249.228 | ubuntu18.04 | simple_requires-1-1-flv | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 a3763180-fa7d-45a0-b157-82d9ef4afabc ${rc} ${success_return_code} Fails if objects are unequal after 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} = a3763180-fa7d-45a0-b157-82d9ef4afabc 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 4be9eeeb-66f4-4462-8be4-ee131cd9ce69 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 4be9eeeb-66f4-4462-8be4-ee131cd9ce69 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} = a9c175db-a13a-44cb-a60a-e4032b7babb9 ${stdout} Logs the given message with the given level. a9c175db-a13a-44cb-a60a-e4032b7babb9 ${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} = a9c175db-a13a-44cb-a60a-e4032b7babb9 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} = 41597c4a-fd15-48d7-a261-5ab70128fdfa ${stdout} Logs the given message with the given level. 41597c4a-fd15-48d7-a261-5ab70128fdfa ${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 | 41597c4a-fd15-48d7-a261-5ab70128fdfa | 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 | 41597c4a-fd15-48d7-a261-5ab70128fdfa | 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 | "41597c4a-fd15-48d7-a261-5ab70128fdfa" | | name | "k8s07" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "a9c175db-a13a-44cb-a60a-e4032b7babb9" | | nets | { | | | "net1": "null" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711684962.2224755, | | | "modified": 1711684967.662698, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711684962.2225094, | | | "statusEnteredTime": 1711684962.2225094, | | | "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": "41597c4a-fd15-48d7-a261-5ab70128fdfa", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "41597c4a-fd15-48d7-a261-5ab70128fdfa", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "41597c4a-fd15-48d7-a261-5ab70128fdfa", | | | "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 | 41597c4a-fd15-48d7-a261-5ab70128fdfa | 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 | 41597c4a-fd15-48d7-a261-5ab70128fdfa | 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} = 46da72fa-5420-49ff-837b-a46d47b3549e ${stdout} Logs the given message with the given level. 46da72fa-5420-49ff-837b-a46d47b3549e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 46da72fa-5420-49ff-837b-a46d47b3549e ${ns_id} Logs the given message with the given level. 46da72fa-5420-49ff-837b-a46d47b3549e ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03:19 | BUILDING | INSTANTIATING (d14c9a80-caae-4449-9d0b-2097282b7e89) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03:19 | BUILDING | INSTANTIATING (d14c9a80-caae-4449-9d0b-2097282b7e89) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03:19 | BUILDING | INSTANTIATING (d14c9a80-caae-4449-9d0b-2097282b7e89) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03:19 | BUILDING | INSTANTIATING (d14c9a80-caae-4449-9d0b-2097282b7e89) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03:19 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --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 | 46da72fa-5420-49ff-837b-a46d47b3549e | 2024-03-29T04:03: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} = 46da72fa-5420-49ff-837b-a46d47b3549e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 46da72fa-5420-49ff-837b-a46d47b3549e cluster_k8s daily k8s_07 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 81801136-0f56-436a-a4e2-346ae08d62b8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 81801136-0f56-436a-a4e2-346ae08d62b8 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 0101856b-6f9c-4824-ad96-4be237b11b7c ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0101856b-6f9c-4824-ad96-4be237b11b7c 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} = 056f7345-26b0-4d9d-9468-f48d96c9d6fe ${stdout} Logs the given message with the given level. 056f7345-26b0-4d9d-9468-f48d96c9d6fe ${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 | 056f7345-26b0-4d9d-9468-f48d96c9d6fe | 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 | 056f7345-26b0-4d9d-9468-f48d96c9d6fe | 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 | "056f7345-26b0-4d9d-9468-f48d96c9d6fe" | | name | "k8s08" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711685126.773555, | | | "modified": 1711685131.8443844, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711685126.7735906, | | | "statusEnteredTime": 1711685126.7735906, | | | "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": "056f7345-26b0-4d9d-9468-f48d96c9d6fe", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "056f7345-26b0-4d9d-9468-f48d96c9d6fe", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "056f7345-26b0-4d9d-9468-f48d96c9d6fe", | | | "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 | 056f7345-26b0-4d9d-9468-f48d96c9d6fe | 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 | 056f7345-26b0-4d9d-9468-f48d96c9d6fe | 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} = 7612c199-14bd-46d9-9f0e-967ab4aabe0a ${stdout} Logs the given message with the given level. 7612c199-14bd-46d9-9f0e-967ab4aabe0a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7612c199-14bd-46d9-9f0e-967ab4aabe0a ${ns_id} Logs the given message with the given level. 7612c199-14bd-46d9-9f0e-967ab4aabe0a ${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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06:04 | BUILDING | INSTANTIATING (ca8a923d-e147-476a-a754-98f649325da1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06:04 | BUILDING | INSTANTIATING (ca8a923d-e147-476a-a754-98f649325da1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06:04 | BUILDING | INSTANTIATING (ca8a923d-e147-476a-a754-98f649325da1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06:04 | BUILDING | INSTANTIATING (ca8a923d-e147-476a-a754-98f649325da1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 7612c199-14bd-46d9-9f0e-967ab4aabe0a | 2024-03-29T04:06: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} = 7612c199-14bd-46d9-9f0e-967ab4aabe0a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7612c199-14bd-46d9-9f0e-967ab4aabe0a 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.12 ${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.12: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 Fri Mar 29 04:07:18 UTC 2024 System load: 0.82 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.12 Processes: 404 IPv4 address for lxdbr0: 10.14.22.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 214 updates can be applied immediately. 160 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: Fri Mar 29 01:34:24 2024 from 172.21.249.4 ubuntu@osm-v120-merge-698:~$ ${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 7612c199-14bd-46d9-9f0e-967ab4aabe0a | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a 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-7612c199-14bd-46d9-9f0e-967ab4aabe0a ${stdout} Logs the given message with the given level. native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a ${model_name} ${kdu_name}-${ns_id} Returns the given values which can then be assigned to a variables. ${model_name} = native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a ${model_name} ${stdout} Fails if objects are unequal after converting them to strings. ${name} = native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a ${model_name} ${name} Makes a variable available everywhere within the scope of the current suite. ${model_name} = native-kdu-7612c199-14bd-46d9-9f0e-967ab4aabe0a 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.12 ${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.12: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 Fri Mar 29 04:07:21 UTC 2024 System load: 1.39 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.12 Processes: 406 IPv4 address for lxdbr0: 10.14.22.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 214 updates can be applied immediately. 160 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: Fri Mar 29 04:07:19 2024 from 172.21.249.4 ubuntu@osm-v120-merge-698:~$ ${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-7612c199-14bd-46d9-9f0e-967ab4aabe0a | 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} = 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 ${rc} ${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 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 --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 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 --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} = 0c631c5e-0ea1-40c8-8b4d-82eb7c665337 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.12 ${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.12: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 Fri Mar 29 04:08:14 UTC 2024 System load: 0.99 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.12 Processes: 411 IPv4 address for lxdbr0: 10.14.22.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 214 updates can be applied immediately. 160 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: Fri Mar 29 04:07:21 2024 from 172.21.249.4 ubuntu@osm-v120-merge-698:~$ ${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-7612c199-14bd-46d9-9f0e-967ab4aabe0a | 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} = bab21fe2-faf0-4a59-8d26-5e33a1a85704 ${rc} ${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 bab21fe2-faf0-4a59-8d26-5e33a1a85704 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id bab21fe2-faf0-4a59-8d26-5e33a1a85704 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bab21fe2-faf0-4a59-8d26-5e33a1a85704 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id bab21fe2-faf0-4a59-8d26-5e33a1a85704 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bab21fe2-faf0-4a59-8d26-5e33a1a85704 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id bab21fe2-faf0-4a59-8d26-5e33a1a85704 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bab21fe2-faf0-4a59-8d26-5e33a1a85704 --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 bab21fe2-faf0-4a59-8d26-5e33a1a85704 --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} = bab21fe2-faf0-4a59-8d26-5e33a1a85704 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.12 ${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.12: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 Fri Mar 29 04:09:07 UTC 2024 System load: 0.92 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.12 Processes: 408 IPv4 address for lxdbr0: 10.14.22.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 214 updates can be applied immediately. 160 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: Fri Mar 29 04:08:14 2024 from 172.21.249.4 ubuntu@osm-v120-merge-698:~$ ${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-7612c199-14bd-46d9-9f0e-967ab4aabe0a | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 34c83002-b6ec-46ea-8d71-130487fa07fd | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.171 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 f777d756-46b1-4009-89ee-ec95db589501 ${rc} ${success_return_code} Fails if objects are unequal after 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} = f777d756-46b1-4009-89ee-ec95db589501 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 c5a77756-05f4-45ba-ade3-63a84a93bf28 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c5a77756-05f4-45ba-ade3-63a84a93bf28 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} = a20260f6-4937-4d48-8d76-04da1cb3f7dd ${stdout} Logs the given message with the given level. a20260f6-4937-4d48-8d76-04da1cb3f7dd ${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 | a20260f6-4937-4d48-8d76-04da1cb3f7dd | 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 | a20260f6-4937-4d48-8d76-04da1cb3f7dd | 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 | "a20260f6-4937-4d48-8d76-04da1cb3f7dd" | | name | "k8s-test" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711685491.6798697, | | | "modified": 1711685497.472062, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711685491.6799057, | | | "statusEnteredTime": 1711685491.6799057, | | | "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": "a20260f6-4937-4d48-8d76-04da1cb3f7dd", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "a20260f6-4937-4d48-8d76-04da1cb3f7dd", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "a20260f6-4937-4d48-8d76-04da1cb3f7dd", | | | "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 | a20260f6-4937-4d48-8d76-04da1cb3f7dd | 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 | a20260f6-4937-4d48-8d76-04da1cb3f7dd | 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} = 256e3cdc-6ece-4c56-a667-e2fa9381e037 ${stdout} Logs the given message with the given level. 256e3cdc-6ece-4c56-a667-e2fa9381e037 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 256e3cdc-6ece-4c56-a667-e2fa9381e037 ${ns_id} Logs the given message with the given level. 256e3cdc-6ece-4c56-a667-e2fa9381e037 ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | BUILDING | INSTANTIATING (97671bff-e474-4a13-9dba-756d4a97aee1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 256e3cdc-6ece-4c56-a667-e2fa9381e037 | 2024-03-29T04:12:09 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 256e3cdc-6ece-4c56-a667-e2fa9381e037 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 256e3cdc-6ece-4c56-a667-e2fa9381e037 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} = 27e5f94b-9782-4482-8ad0-8937d200c1bb ${rc} ${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 27e5f94b-9782-4482-8ad0-8937d200c1bb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 27e5f94b-9782-4482-8ad0-8937d200c1bb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27e5f94b-9782-4482-8ad0-8937d200c1bb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 27e5f94b-9782-4482-8ad0-8937d200c1bb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 27e5f94b-9782-4482-8ad0-8937d200c1bb --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 27e5f94b-9782-4482-8ad0-8937d200c1bb --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} = 27e5f94b-9782-4482-8ad0-8937d200c1bb Performs one Day 2 operation per VNF that creates a new file. cluster_k8s daily k8s_09 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 f1877996-4ef0-4d9c-bc45-09168f9bf09f ${rc} ${success_return_code} Fails if objects are unequal after 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} = f1877996-4ef0-4d9c-bc45-09168f9bf09f 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 0cf68caa-1bd8-4d83-9c88-80d3c1ef0413 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0cf68caa-1bd8-4d83-9c88-80d3c1ef0413 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} = 8ee3d175-dfa4-4182-9004-374ee4de5224 ${stdout} Logs the given message with the given level. 8ee3d175-dfa4-4182-9004-374ee4de5224 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 8ee3d175-dfa4-4182-9004-374ee4de5224 ${ns_id} Logs the given message with the given level. 8ee3d175-dfa4-4182-9004-374ee4de5224 ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16:15 | BUILDING | INSTANTIATING (ee14bbc9-38db-4c8c-bb4e-c4c68b3af42d) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16: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} = +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | I... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 8ee3d175-dfa4-4182-9004-374ee4de5224 | 2024-03-29T04:16: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} = 8ee3d175-dfa4-4182-9004-374ee4de5224 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 8ee3d175-dfa4-4182-9004-374ee4de5224 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 8ee3d175-dfa4-4182-9004-374ee4de5224 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.90 ${stdout} Logs the given message with the given level. 172.21.248.90 ${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.90 ${ip_addr_1} Logs the given message with the given level. 172.21.248.90 ${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.90 ${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 8ee3d175-dfa4-4182-9004-374ee4de5224 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.221 ${stdout} Logs the given message with the given level. 172.21.248.221 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.221 ${ip_addr_2} Logs the given message with the given level. 172.21.248.221 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.248.221 cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.90: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 Fri Mar 29 04:19:05 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.90 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.221:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 04:19:07 UTC 2024 System load: 0.16 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.221 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.90: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 Fri Mar 29 04:19:09 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.90 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: Fri Mar 29 04:19:06 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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.221:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 04:19:11 UTC 2024 System load: 0.22 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.221 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: Fri Mar 29 04:19:08 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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} = 4f801c08-a28f-4a5b-87f6-7419dda7389a ${rc} ${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 4f801c08-a28f-4a5b-87f6-7419dda7389a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4f801c08-a28f-4a5b-87f6-7419dda7389a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4f801c08-a28f-4a5b-87f6-7419dda7389a --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 4f801c08-a28f-4a5b-87f6-7419dda7389a --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} = 4f801c08-a28f-4a5b-87f6-7419dda7389a ${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} = e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea ${rc} ${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 e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea --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 e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea --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} = e886b3f9-20a0-4add-bce6-2cfc4ea6c1ea Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.90: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 Fri Mar 29 04:19:52 UTC 2024 System load: 0.05 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.90 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: Fri Mar 29 04:19: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@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.221:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Fri Mar 29 04:19:54 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.221 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: Fri Mar 29 04:19: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@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 | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ | a377d792-0765-4b54-9c8e-8ced3bba67fe | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 231d68f8-2278-4e59-8958-c79658266b55 | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.163; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | d147df35-f3ad-4454-a231-da49bcaf21cb | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.169.223; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | a377d792-0765-4b54-9c8e-8ced3bba67fe | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | a377d792-0765-4b54-9c8e-8ced3bba67fe | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | a377d792-0765-4b54-9c8e-8ced3bba67fe | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 fc8963e6-27c7-4eac-b389-6b09e2124905 ${rc} ${success_return_code} Fails if objects are unequal after 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} = fc8963e6-27c7-4eac-b389-6b09e2124905 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 a04cbd48-9082-4791-a53d-eb04a3e7891e ${rc} ${success_return_code} Fails if objects are unequal after 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} = a04cbd48-9082-4791-a53d-eb04a3e7891e 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} = 14b596b3-30cc-46b9-ba77-b53af2cffff7 ${stdout} Logs the given message with the given level. 14b596b3-30cc-46b9-ba77-b53af2cffff7 ${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 | 14b596b3-30cc-46b9-ba77-b53af2cffff7 | 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 | 14b596b3-30cc-46b9-ba77-b53af2cffff7 | 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 | "14b596b3-30cc-46b9-ba77-b53af2cffff7" | | name | "k8s12" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711686117.8717823, | | | "modified": 1711686123.3309321, | | | "projects_read": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "projects_write": [ | | | "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711686117.8718288, | | | "statusEnteredTime": 1711686117.8718288, | | | "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": "14b596b3-30cc-46b9-ba77-b53af2cffff7", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "14b596b3-30cc-46b9-ba77-b53af2cffff7", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "14b596b3-30cc-46b9-ba77-b53af2cffff7", | | | "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 | 14b596b3-30cc-46b9-ba77-b53af2cffff7 | 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 | 14b596b3-30cc-46b9-ba77-b53af2cffff7 | 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} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${stdout} Logs the given message with the given level. dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${ns_id} Logs the given message with the given level. dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 1883aae9-c251-47f4-bba4-9100c50adf4c | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ | 42d810f2-a2ea-4625-aa3c-b7c919cfdfd4 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.128.93; basic_08_disable-internal=192.168.66.40 | ubuntu20.04 | simple_requires-1-1-flv | | 038545e0-d7a2-429e-b183-3e45c19e72ac | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.66.129; osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | e2b3b206-49b3-4cd6-93f4-ceaa7ce67b5d | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.128.244; basic_08_disable-internal=192.168.226.39 | ubuntu20.04 | simple_requires-1-1-flv | | 40516d07-2be4-4044-ab0d-71e29049a016 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.226.89; osm-ext=172.21.249.84 | ubuntu20.04 | simple_requires-1-1-flv | | 1883aae9-c251-47f4-bba4-9100c50adf4c | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server 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 | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 42d810f2-a2ea-4625-aa3c-b7c919cfdfd4 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.66.40 | ubuntu20.04 | simple_requires-1-1-flv | | 038545e0-d7a2-429e-b183-3e45c19e72ac | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.66.129; osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | e2b3b206-49b3-4cd6-93f4-ceaa7ce67b5d | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.226.39 | ubuntu20.04 | simple_requires-1-1-flv | | 40516d07-2be4-4044-ab0d-71e29049a016 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.226.89; osm-ext=172.21.249.84 | ubuntu20.04 | simple_requires-1-1-flv | | 1883aae9-c251-47f4-bba4-9100c50adf4c | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | BUILDING | INSTANTIATING (ed614735-2baa-4f03-a684-4ed1d8f321da) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list 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 | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 1883aae9-c251-47f4-bba4-9100c50adf4c | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 1883aae9-c251-47f4-bba4-9100c50adf4c | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 0a885dce-818a-401d-8ced-72b668a15f56 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.175 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | 2024-03-29T04:22:35 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 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} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${stdout} Logs the given message with the given level. dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${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} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 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 dcdc5b14-e485-4ea6-93e8-1f07a29dcde0 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 980e8050-2f78-454a-99fe-2e36ce1a5bb5 ${rc} ${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} = [ 980e8050-2f78-454a-99fe-2e36ce1a5bb5 ] @{vnfr_list} = [ 980e8050-2f78-454a-99fe-2e36ce1a5bb5 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 980e8050-2f78-454a-99fe-2e36ce1a5bb5 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 980e8050-2f78-454a-99fe-2e36ce1a5bb5 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} = 082c5295-dbd8-4e34-9c2b-b5d10cc934af ${rc} ${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 082c5295-dbd8-4e34-9c2b-b5d10cc934af --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 082c5295-dbd8-4e34-9c2b-b5d10cc934af ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 082c5295-dbd8-4e34-9c2b-b5d10cc934af --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 082c5295-dbd8-4e34-9c2b-b5d10cc934af --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} = 082c5295-dbd8-4e34-9c2b-b5d10cc934af 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} = 40228f88-054b-4236-8674-07b81eae0421 ${rc} ${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 40228f88-054b-4236-8674-07b81eae0421 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 40228f88-054b-4236-8674-07b81eae0421 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 40228f88-054b-4236-8674-07b81eae0421 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 40228f88-054b-4236-8674-07b81eae0421 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 40228f88-054b-4236-8674-07b81eae0421 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 40228f88-054b-4236-8674-07b81eae0421 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 40228f88-054b-4236-8674-07b81eae0421 --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 40228f88-054b-4236-8674-07b81eae0421 --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} = 40228f88-054b-4236-8674-07b81eae0421 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 980e8050-2f78-454a-99fe-2e36ce1a5bb5 --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} = 4e3c8878-8182-4524-a069-d163eb82cf3f ${rc} ${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 4e3c8878-8182-4524-a069-d163eb82cf3f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4e3c8878-8182-4524-a069-d163eb82cf3f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4e3c8878-8182-4524-a069-d163eb82cf3f --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 4e3c8878-8182-4524-a069-d163eb82cf3f --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} = 4e3c8878-8182-4524-a069-d163eb82cf3f 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 980e8050-2f78-454a-99fe-2e36ce1a5bb5 --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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | 2d4e8a90-d4e8-4c7e-ab17-f57e7bb46b3e | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 74adfad8-1bee-4f8b-847c-84823955f36f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.19 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | 74adfad8-1bee-4f8b-847c-84823955f36f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.19 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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} = 2389d574-204a-450a-b5e6-3a8608a425a0 ${stdout} Logs the given message with the given level. 2389d574-204a-450a-b5e6-3a8608a425a0 ${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} = 75b52586-703e-4055-a5de-84b90b425c21 ${stdout} Logs the given message with the given level. 75b52586-703e-4055-a5de-84b90b425c21 ${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} = 62d0687c-26c1-4b76-8ade-f81d7bdcb1e4 ${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 be87bdfd-313a-4de3-8c81-b3f423cfcb69 ${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 (2389d574-204a-450a-b5e6-3a8608a425a0)" } ${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 cc9a9646-b768-439a-9980-8b3b3c00bb4a ${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 c9e561fd-b11d-4b3b-9f5b-fd22542d650d ${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 559c9f29-ad34-4120-9501-55bdd530c23b ${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 56f5b69e-7fb0-4a9c-8493-f1ae92660456 ${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 (2389d574-204a-450a-b5e6-3a8608a425a0)" } ${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 090333c1-a684-4f71-8281-8db95f1944ff ${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 (75b52586-703e-4055-a5de-84b90b425c21)" } ${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' (75b52586-703e-4055-a5de-84b90b425c21) 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' (75b52586-703e-4055-a5de-84b90b425c21) 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 0fb26813-7959-42f1-90e2-665cd701768f ${rc} ${success_return_code} Fails if objects are unequal after 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} = 0fb26813-7959-42f1-90e2-665cd701768f 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 7faeccdb-30ff-4c75-9e0e-ffe5ee8cd864 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 7faeccdb-30ff-4c75-9e0e-ffe5ee8cd864 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} = 85f7caa7-d2c6-4ae5-98af-83864a56b5cb ${stdout} Logs the given message with the given level. 85f7caa7-d2c6-4ae5-98af-83864a56b5cb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 85f7caa7-d2c6-4ae5-98af-83864a56b5cb ${ns_id} Logs the given message with the given level. 85f7caa7-d2c6-4ae5-98af-83864a56b5cb ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 1ce15c64-1257-4cf3-a939-40eb6a3e82db | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 12ec25b9-35ad-4f98-90b4-cd78d6deff39 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.88 | ubuntu20.04 | simple_requires-1-1-flv | | 35ebaf0c-b0be-48cb-80ca-c4ccc344719c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | simple_requires-1-1-flv | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 85f7caa7-d2c6-4ae5-98af-83864a56b5cb | 2024-03-29T04:28:06 | BUILDING | INSTANTIATING (7a38861e-af51-48b2-97ab-8c880261c15a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 85f7caa7-d2c6-4ae5-98af-83864a56b5cb | 2024-03-29T04:28:06 | BUILDING | INSTANTIATING (7a38861e-af51-48b2-97ab-8c880261c15a) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 9a5eb55c-e1a4-45e5-a097-8a1591b44188 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.7 | ubuntu20.04 | simple_requires-1-1-flv | | 1ce15c64-1257-4cf3-a939-40eb6a3e82db | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 12ec25b9-35ad-4f98-90b4-cd78d6deff39 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.88 | ubuntu20.04 | simple_requires-1-1-flv | | 35ebaf0c-b0be-48cb-80ca-c4ccc344719c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | simple_requires-1-1-flv | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 85f7caa7-d2c6-4ae5-98af-83864a56b5cb | 2024-03-29T04:28:06 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 9a5eb55c-e1a4-45e5-a097-8a1591b44188 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.7 | ubuntu20.04 | simple_requires-1-1-flv | | 1ce15c64-1257-4cf3-a939-40eb6a3e82db | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 12ec25b9-35ad-4f98-90b4-cd78d6deff39 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.88 | ubuntu20.04 | simple_requires-1-1-flv | | 35ebaf0c-b0be-48cb-80ca-c4ccc344719c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | simple_requires-1-1-flv | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 85f7caa7-d2c6-4ae5-98af-83864a56b5cb | 2024-03-29T04:28:06 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 85f7caa7-d2c6-4ae5-98af-83864a56b5cb ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 85f7caa7-d2c6-4ae5-98af-83864a56b5cb 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:28:44 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:29:44 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:30:44 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:31:44 GMT', 'Content-Length': '305'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"85f7caa7-d2c6-4ae5-98af-83864a56b5cb","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711686704.692,"17"]}]}} ${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': '85f7caa7-d2c6-4ae5-98af-83864a... ${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': '85f7caa7-d2c6-4ae5-98af-83864a56b5cb', '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} = 17 ${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.12: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.12: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.12:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:31:44 GMT', 'Content-Length': '321'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_average_memory_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"85f7caa7-d2c6-4ae5-98af-83864a56b5cb","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711686704.715,"276.34765625"]}]}} ${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': '85f7caa7-d2c6-4ae5-... ${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': '85f7caa7-d2c6-4ae5-98af-83864a56b5cb', '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} = 276.34765625 ${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 | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | aa4f8fb6-7563-4017-9704-d80e1188716e | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.84; basic_18-datanet2=192.168.20.11; basic_18-datanet3=192.168.30.48; osm-ext=172.21.248.186 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | a42e0717-0331-4640-a5a6-41f9bf411594 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.174; basic_18-datanet2=192.168.20.216; basic_18-datanet3=192.168.30.149; osm-ext=172.21.248.33 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 9a5eb55c-e1a4-45e5-a097-8a1591b44188 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.7 | ubuntu20.04 | simple_requires-1-1-flv | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | aa4f8fb6-7563-4017-9704-d80e1188716e | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.84; basic_18-datanet2=192.168.20.11; basic_18-datanet3=192.168.30.48; osm-ext=172.21.248.186 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | a42e0717-0331-4640-a5a6-41f9bf411594 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.174; basic_18-datanet2=192.168.20.216; basic_18-datanet3=192.168.30.149; osm-ext=172.21.248.33 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 b048d130-feae-4ec9-8550-0eb30bd76a70 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b048d130-feae-4ec9-8550-0eb30bd76a70 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 c2ef178a-5acc-4b7b-9395-dc99e1170683 ${rc} ${success_return_code} Fails if objects are unequal after 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} = c2ef178a-5acc-4b7b-9395-dc99e1170683 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} = ecff9569-acf6-4b22-98d1-7bd3aa197d3e ${stdout} Logs the given message with the given level. ecff9569-acf6-4b22-98d1-7bd3aa197d3e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = ecff9569-acf6-4b22-98d1-7bd3aa197d3e ${ns_id} Logs the given message with the given level. ecff9569-acf6-4b22-98d1-7bd3aa197d3e ${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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | aa4f8fb6-7563-4017-9704-d80e1188716e | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.84; basic_18-datanet2=192.168.20.11; basic_18-datanet3=192.168.30.48; osm-ext=172.21.248.186 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | a42e0717-0331-4640-a5a6-41f9bf411594 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.174; basic_18-datanet2=192.168.20.216; basic_18-datanet3=192.168.30.149; osm-ext=172.21.248.33 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | ecff9569-acf6-4b22-98d1-7bd3aa197d3e | 2024-03-29T04:32:19 | BUILDING | INSTANTIATING (2ff55e9b-8332-4eff-af0a-69e4866aecba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | ecff9569-acf6-4b22-98d1-7bd3aa197d3e | 2024-03-29T04:32:19 | BUILDING | INSTANTIATING (2ff55e9b-8332-4eff-af0a-69e4866aecba) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | c21b5619-8988-48f0-a8a3-b3d723cba7f7 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | aa4f8fb6-7563-4017-9704-d80e1188716e | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.84; basic_18-datanet2=192.168.20.11; basic_18-datanet3=192.168.30.48; osm-ext=172.21.248.186 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | a42e0717-0331-4640-a5a6-41f9bf411594 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.174; basic_18-datanet2=192.168.20.216; basic_18-datanet3=192.168.30.149; osm-ext=172.21.248.33 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | ecff9569-acf6-4b22-98d1-7bd3aa197d3e | 2024-03-29T04:32: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 | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | c21b5619-8988-48f0-a8a3-b3d723cba7f7 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | aa4f8fb6-7563-4017-9704-d80e1188716e | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.84; basic_18-datanet2=192.168.20.11; basic_18-datanet3=192.168.30.48; osm-ext=172.21.248.186 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | a42e0717-0331-4640-a5a6-41f9bf411594 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.174; basic_18-datanet2=192.168.20.216; basic_18-datanet3=192.168.30.149; osm-ext=172.21.248.33 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3d0409b-6d86-4a7d-9f88-48c6d43b91ba | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.20 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 35462b2c-1c02-4141-b5ae-5e47acf06641 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.122 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | ecff9569-acf6-4b22-98d1-7bd3aa197d3e | 2024-03-29T04:32: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} = ecff9569-acf6-4b22-98d1-7bd3aa197d3e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = ecff9569-acf6-4b22-98d1-7bd3aa197d3e 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 ecff9569-acf6-4b22-98d1-7bd3aa197d3e | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 51952db3-e00f-447c-ba79-57ddf12484dc ${rc} ${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} = [ 51952db3-e00f-447c-ba79-57ddf12484dc ] @{vnfr_list} = [ 51952db3-e00f-447c-ba79-57ddf12484dc ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 51952db3-e00f-447c-ba79-57ddf12484dc ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 51952db3-e00f-447c-ba79-57ddf12484dc 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 ecff9569-acf6-4b22-98d1-7bd3aa197d3e | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.121 ${stdout} Logs the given message with the given level. 172.21.249.121 ${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.121 ${ip_addr} Logs the given message with the given level. 172.21.249.121 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.121 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:33:01 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:34:01 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:35:01 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:36:01 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711686961.542,"8.716666666666667"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${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} = 8.716666666666667 ${metric_value} <= 0 Fail msg=The metric '${metric_name}' value is '${metric_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_value} >= ${metric_threshold} Fail msg=The metric '${metric_name}' value is higher than '${metric_threshold}' before scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${vnf_ip_addr} ${username} ${password} ${privatekey} for i in {1..9}; do yes &> /dev/null & done ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.121: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 Fri Mar 29 04:36:01 UTC 2024 System load: 0.08 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.121 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:36:04 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711686964.019,"8.716666666666667"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${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} = 8.716666666666667 ${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 '8.716666666666667' 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:37:04 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711687024.051,"8.716666666666667"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${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} = 8.716666666666667 ${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 '8.716666666666667' 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:38:04 GMT', 'Content-Length': '300'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711687084.089,"39.291666666666664"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${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} = 39.291666666666664 ${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 '39.291666666666664' 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:39:04 GMT', 'Content-Length': '299'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711687144.124,"39.291666666666664"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${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} = 39.291666666666664 ${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 '39.291666666666664' 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:40:04 GMT', 'Content-Length': '295'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"ecff9569-acf6-4b22-98d1-7bd3aa197d3e","ns_name":"sa_02","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711687204.164,"99.675"]}]}} ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa... ${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': 'ecff9569-acf6-4b22-98d1-7bd3aa197d3e', 'ns_name': 'sa_02', 'project_id': 'c2ca7b14-aa50-4937-a6... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 99.675 ${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 51952db3-e00f-447c-ba79-57ddf12484dc --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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31; slicebasic.slice-nsd_vnfd_vld_dat=192.168.216.208 | ubuntu18.04 | simple_requires-1-1-flv | | 63ccc2d8-71c9-45fd-9c8a-dfca38153856 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.65 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.112 | ubuntu18.04 | simple_requires-1-1-flv | | e953231b-b933-451a-81e0-849860ba4c88 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.192; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.37, 192.168.216.19 | ubuntu18.04 | simple_requires-1-1-flv | | 3de370c8-b901-4339-9af3-9389eea74ffe | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.42 | ubuntu20.04 | simple_requires-1-1-flv | | c21b5619-8988-48f0-a8a3-b3d723cba7f7 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.121 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31; slicebasic.slice-nsd_vnfd_vld_dat=192.168.216.208 | ubuntu18.04 | simple_requires-1-1-flv | | 63ccc2d8-71c9-45fd-9c8a-dfca38153856 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.65 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.112 | ubuntu18.04 | simple_requires-1-1-flv | | e953231b-b933-451a-81e0-849860ba4c88 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.192; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.37, 192.168.216.19 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 99c9edb3-8ab7-4b74-86dd-52d75b13ee68 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 99c9edb3-8ab7-4b74-86dd-52d75b13ee68 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 dba74063-ebc9-480e-810e-89780501b96e ${rc} ${success_return_code} Fails if objects are unequal after 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} = dba74063-ebc9-480e-810e-89780501b96e 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} = c8267347-0fa4-4d25-81cd-a2ab72e24b58 ${stdout} Logs the given message with the given level. c8267347-0fa4-4d25-81cd-a2ab72e24b58 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c8267347-0fa4-4d25-81cd-a2ab72e24b58 ${ns_id} Logs the given message with the given level. c8267347-0fa4-4d25-81cd-a2ab72e24b58 ${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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31; slicebasic.slice-nsd_vnfd_vld_dat=192.168.216.208 | ubuntu18.04 | simple_requires-1-1-flv | | 63ccc2d8-71c9-45fd-9c8a-dfca38153856 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.65 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.112 | ubuntu18.04 | simple_requires-1-1-flv | | e953231b-b933-451a-81e0-849860ba4c88 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.192; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.37, 192.168.216.19 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c8267347-0fa4-4d25-81cd-a2ab72e24b58 | 2024-03-29T04:42:38 | BUILDING | INSTANTIATING (d8292e5d-70a9-4326-a3bc-49e0580d19b4) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | c8267347-0fa4-4d25-81cd-a2ab72e24b58 | 2024-03-29T04:42:38 | BUILDING | INSTANTIATING (d8292e5d-70a9-4326-a3bc-49e0580d19b4) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31; slicebasic.slice-nsd_vnfd_vld_dat=192.168.216.208 | ubuntu18.04 | simple_requires-1-1-flv | | 63ccc2d8-71c9-45fd-9c8a-dfca38153856 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.65 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.112 | ubuntu18.04 | simple_requires-1-1-flv | | e953231b-b933-451a-81e0-849860ba4c88 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.192; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.37, 192.168.216.19 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c8267347-0fa4-4d25-81cd-a2ab72e24b58 | 2024-03-29T04:42: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 | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31; slicebasic.slice-nsd_vnfd_vld_dat=192.168.216.208 | ubuntu18.04 | simple_requires-1-1-flv | | 63ccc2d8-71c9-45fd-9c8a-dfca38153856 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.65 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.112 | ubuntu18.04 | simple_requires-1-1-flv | | e953231b-b933-451a-81e0-849860ba4c88 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.192; slicebasic.slice-nsd_vnfd_vld_dat=192.168.136.37, 192.168.216.19 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | c8267347-0fa4-4d25-81cd-a2ab72e24b58 | 2024-03-29T04:42: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} = c8267347-0fa4-4d25-81cd-a2ab72e24b58 ${ws_ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ws_ns_id} = c8267347-0fa4-4d25-81cd-a2ab72e24b58 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 c8267347-0fa4-4d25-81cd-a2ab72e24b58 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.53 ${stdout} Logs the given message with the given level. 172.21.249.53 ${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.53 ${ip_addr} Logs the given message with the given level. 172.21.249.53 ${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.53 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.53:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-07-webhook-se-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'while true; do { echo -e 'HTTP/1.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.53: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 54589b84-1662-4206-82df-f2006e6afddb ${rc} ${success_return_code} Fails if objects are unequal after 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} = 54589b84-1662-4206-82df-f2006e6afddb 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 c246dcc2-9b1b-4117-8b39-83741112c0ed ${rc} ${success_return_code} Fails if objects are unequal after 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} = c246dcc2-9b1b-4117-8b39-83741112c0ed 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} = 28a95578-e4d2-44e1-86b9-bb3942ab3660 ${stdout} Logs the given message with the given level. 28a95578-e4d2-44e1-86b9-bb3942ab3660 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 28a95578-e4d2-44e1-86b9-bb3942ab3660 ${ns_id} Logs the given message with the given level. 28a95578-e4d2-44e1-86b9-bb3942ab3660 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 3a84090e-122d-47e8-ad1a-7aacb0272ba1 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.31 | ubuntu18.04 | simple_requires-1-1-flv | | 68280490-835c-4b0f-8b32-2d16957a3e95 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | 28a95578-e4d2-44e1-86b9-bb3942ab3660 | 2024-03-29T04:44:04 | BUILDING | INSTANTIATING (891fd972-19b8-4300-aadd-83df56deb981) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | 28a95578-e4d2-44e1-86b9-bb3942ab3660 | 2024-03-29T04:44:04 | BUILDING | INSTANTIATING (891fd972-19b8-4300-aadd-83df56deb981) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | a1005c7d-14ef-40f7-bb4d-1d98f56e0653 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.186 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 28a95578-e4d2-44e1-86b9-bb3942ab3660 | 2024-03-29T04:44:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | a1005c7d-14ef-40f7-bb4d-1d98f56e0653 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.186 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --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 | 28a95578-e4d2-44e1-86b9-bb3942ab3660 | 2024-03-29T04:44: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} = 28a95578-e4d2-44e1-86b9-bb3942ab3660 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 28a95578-e4d2-44e1-86b9-bb3942ab3660 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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:44: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_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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:45: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_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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:46: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_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.12: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.12: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.12:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:47:43 GMT', 'Content-Length': '299'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"28a95578-e4d2-44e1-86b9-bb3942ab3660","ns_name":"sa_07-alarm_test","project_id":"c2ca7b14-aa50-4937-a6f1-8c499377a4b4","vdu_name":"sa_07-alarm_test-vnf-cirros_vnfd-VM-0","vnf_member_index":"vnf"},"value":[1711687663.62,"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': '28a95578-e4d2-44e1-86b9-bb3942... ${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': '28a95578-e4d2-44e1-86b9-bb3942ab3660', 'ns_name': 'sa_07-alarm_test', 'project_id': 'c2ca7b14-a... ${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.53: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 Fri Mar 29 04:47:43 UTC 2024 System load: 0.12 Processes: 106 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.53 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: Fri Mar 29 04:43:59 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:45:04", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:45:04", "status": "insufficient-data", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:45:34", "status": "insufficient-data", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:46:04", "status": "insufficient-data", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:46:34", "status": "insufficient-data", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:47:04", "status": "insufficient-data", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "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": "a552f7ca-0e1b-48d4-b23b-c69eb674ecf5", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "29-03-2024 04:47:35", "status": "alarm", "tags": {"ns_id": "28a95578-e4d2-44e1-86b9-bb3942ab3660", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"} Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_sa daily regression sa_07 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+------------------------------+--------------------------+ | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | a1005c7d-14ef-40f7-bb4d-1d98f56e0653 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.186 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-alarm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-alarm_test == sa_07-alarm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete cirros_alarm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep cirros_alarm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cirros_alarm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cirros_alarm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | 9c2a8ae7-db5a-4f84-8dce-20db5161a0ab | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-webhook_service_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-webhook_service_test == sa_07-webhook_service_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 5dfa07e3-e258-48cd-860d-313f2034372d | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::23a | ubuntu20.04 | simple_requires-1-1-flv | | f2a96657-e828-49d3-9bfb-39f59d83bfa5 | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 cf1478e6-0a11-4131-9d2e-5a5b14f4c2bc ${rc} ${success_return_code} Fails if objects are unequal after 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} = cf1478e6-0a11-4131-9d2e-5a5b14f4c2bc 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 1... ${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 1f07271f-4a46-4cbe-96a5-e13dc49a71e8 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 1f07271f-4a46-4cbe-96a5-e13dc49a71e8 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} = b9691ebd-ad97-46db-83d6-02fa6e35ca98 ${stdout} Logs the given message with the given level. b9691ebd-ad97-46db-83d6-02fa6e35ca98 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b9691ebd-ad97-46db-83d6-02fa6e35ca98 ${ns_id} Logs the given message with the given level. b9691ebd-ad97-46db-83d6-02fa6e35ca98 ${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 | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 5dfa07e3-e258-48cd-860d-313f2034372d | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::23a | ubuntu20.04 | simple_requires-1-1-flv | | f2a96657-e828-49d3-9bfb-39f59d83bfa5 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::18e; osm-ext=172.21.248.40 | ubuntu20.04 | simple_requires-1-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | f63ad326-a2cd-4bea-91df-9241a2481e5c | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.130; sa_08-vnf_with_v-external=192.168.190.254; sa_08-vnf_with_v-internal=192.168.113.223 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 5dfa07e3-e258-48cd-860d-313f2034372d | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::23a | ubuntu20.04 | simple_requires-1-1-flv | | f2a96657-e828-49d3-9bfb-39f59d83bfa5 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::18e; osm-ext=172.21.248.40 | ubuntu20.04 | simple_requires-1-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | f63ad326-a2cd-4bea-91df-9241a2481e5c | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.130; sa_08-vnf_with_v-external=192.168.190.254; sa_08-vnf_with_v-internal=192.168.113.223 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | f2a96657-e828-49d3-9bfb-39f59d83bfa5 | basic_29-vnf-mgmtVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | 795efcc8-bcaf-4e27-8853-8d0cb5045ec6 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.49; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.121 | ubuntu18.04 | simple_requires-1-1-flv | | d67717bb-8a3c-45aa-a33d-e0e561ec1d2d | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.29; slicebasic.slice-nsd_vnfd_vld_dat=192.168.250.4 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48:47 | BUILDING | INSTANTIATING (f93558f2-d796-416d-a521-7abeaef629c1) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | f63ad326-a2cd-4bea-91df-9241a2481e5c | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.130; sa_08-vnf_with_v-external=192.168.190.254; sa_08-vnf_with_v-internal=192.168.113.223 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48: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 | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | f63ad326-a2cd-4bea-91df-9241a2481e5c | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.130; sa_08-vnf_with_v-external=192.168.190.254; sa_08-vnf_with_v-internal=192.168.113.223 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --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 | b9691ebd-ad97-46db-83d6-02fa6e35ca98 | 2024-03-29T04:48: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} = b9691ebd-ad97-46db-83d6-02fa6e35ca98 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b9691ebd-ad97-46db-83d6-02fa6e35ca98 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.12: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.12: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.12:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:50:31 GMT', 'Content-Length': '220'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifInOctets","ifAlias":"lo","ifDescr":"lo","ifIndex":"1","ifName":"lo","instance":"172.21.249.130","job":"c173c54b90f74db9b6a616ea8c484654"},"value":[1711687831.859,"2977"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'ifInOctets', 'ifAlias': 'lo', 'ifDescr': 'lo', 'ifIndex': '1', 'ifName': 'lo', 'instance': '172.21.249.130', ... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'ifInOctets', 'ifAlias': 'lo', 'ifDescr': 'lo', 'ifIndex': '1', 'ifName': 'lo', 'instance': '172.21.249.130', 'job': 'c173c54b90f74db9b6a616ea8c484654'}, 'value': [1711687831.... ${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.12: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.12: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.12:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Mar 2024 04:50:31 GMT', 'Content-Length': '247'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifMtu","ifAlias":"VyOS-eth0","ifDescr":"Red Hat, Inc Device 0001","ifIndex":"2","ifName":"eth0","instance":"172.21.249.130","job":"c173c54b90f74db9b6a616ea8c484654"},"value":[1711687831.893,"1500"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'ifMtu', 'ifAlias': 'VyOS-eth0', 'ifDescr': 'Red Hat, Inc Device 0001', 'ifIndex': '2', 'ifName': 'eth0', 'ins... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'ifMtu', 'ifAlias': 'VyOS-eth0', 'ifDescr': 'Red Hat, Inc Device 0001', 'ifIndex': '2', 'ifName': 'eth0', 'instance': '172.21.249.130', 'job': 'c173c54b90f74db9b6a616ea8c48465... ${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 | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | f63ad326-a2cd-4bea-91df-9241a2481e5c | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.130; sa_08-vnf_with_v-external=192.168.190.254; sa_08-vnf_with_v-internal=192.168.113.223 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.183 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179; slicebasic.slice-nsd_vnfd_vld_dat=192.168.121.71, 192.168.250.7 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+--------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 0 ${stdout} = sa_08-vnf_with_vnf_indicators_snmp_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_08-vnf_with_vnf_indicators_snmp_test == sa_08-vnf_with_vnf_indicators_snmp_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ | af4cb922-049e-489d-b469-30cbac9fb25e | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | e110a27e-f457-42c2-997f-62c00de6c200 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.245 | ubuntu18.04 | simple_requires-1-1-flv | | d9119483-d070-43f6-b479-35d0cab20799 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | c8fcd495-2814-46df-87ac-bbb9850b4ce0 | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | af4cb922-049e-489d-b469-30cbac9fb25e | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::1fe; basic_30-datanet2=192.168.20.19; basic_30-datanet3=192.168.30.134; osm-ext=172.21.249.131 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | fe656706-fba5-4349-b154-fe6549c5337b | osm-v150-merge-103 | ACTIVE | osm-ext=172.21.249.152 | ubuntu22.04 | osm.sanity | | 2c7b44d1-2aa5-411b-b9e9-8d26e68e68ab | osm-master-merge-2938 | ACTIVE | osm-ext=172.21.248.163 | ubuntu22.04 | osm.sanity | | 5b1eb82f-62ea-431b-8e7c-1461a107de95 | osm-v120-merge-698 | ACTIVE | osm-ext=172.21.249.12 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | 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 6462e580-8ef2-4e22-bdd0-e8fa94898097 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 6462e580-8ef2-4e22-bdd0-e8fa94898097 '%{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 ad0f999d-4597-4cfa-ac83-c19d071c6b84 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ad0f999d-4597-4cfa-ac83-c19d071c6b84 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 a9a7e8bf-a278-42d7-a0b9-981927c30141 ${rc} ${success_return_code} Fails if objects are unequal after 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} = a9a7e8bf-a278-42d7-a0b9-981927c30141 '%{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 25c7d83e-3133-4ba8-b0ac-a26d56ef0a95 ${rc} ${success_return_code} Fails if objects are unequal after 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} = 25c7d83e-3133-4ba8-b0ac-a26d56ef0a95 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} = 2c5bc406-396f-443e-9405-95d9e5228406 ${stdout} Logs the given message with the given level. 2c5bc406-396f-443e-9405-95d9e5228406 ${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} = 1e7f263c-e15a-434e-afde-7b2cbcba9207 ${stdout} Logs the given message with the given level. 1e7f263c-e15a-434e-afde-7b2cbcba9207 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 1e7f263c-e15a-434e-afde-7b2cbcba9207 ${nsi_id} Logs the given message with the given level. 1e7f263c-e15a-434e-afde-7b2cbcba9207 ${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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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 | 1e7f263c-e15a-434e-afde-7b2cbcba9207 | 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} = 1e7f263c-e15a-434e-afde-7b2cbcba9207 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = 1e7f263c-e15a-434e-afde-7b2cbcba9207 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, 'd828f375-6b1f-4778-9edc-6214d8eac9a1') ${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 d828f375-6b1f-4778-9edc-6214d8eac9a1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.243 ${stdout} Logs the given message with the given level. 172.21.249.243 ${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.243 '${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.243 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 | 9f951ebf-3c31-4b02-9175-a1b03bb4104e bab77098-183b-4283-aabb-17c0580a1cdd ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 9f951ebf-3c31-4b02-9175-a1b03bb4104e | bab77098-183b-4283-aabb-17c0580a1cdd ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 9f951ebf-3c31-4b02-9175-a1b03bb4104e 1: bab77098-183b-4283-aabb-17c0580a1cdd @{slice_ns_list} = [ 9f951ebf-3c31-4b02-9175-a1b03bb4104e | bab77098-183b-4283-aabb-17c0580a1cdd ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 9f951ebf-3c31-4b02-9175-a1b03bb4104e bab77098-183b-4283-aabb-17c0580a1cdd @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 9f951ebf-3c31-4b02-9175-a1b03bb4104e ${ns_id} Logs the given message with the given level. 9f951ebf-3c31-4b02-9175-a1b03bb4104e @{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 9f951ebf-3c31-4b02-9175-a1b03bb4104e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | bccc7316-f4e2-46f3-88e2-4b73e69257d1 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ bccc7316-f4e2-46f3-88e2-4b73e69257d1 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: bccc7316-f4e2-46f3-88e2-4b73e69257d1 @{vnf_id_list} = [ bccc7316-f4e2-46f3-88e2-4b73e69257d1 ] @{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} bccc7316-f4e2-46f3-88e2-4b73e69257d1 ${vnf_id} Logs the given message with the given level. bccc7316-f4e2-46f3-88e2-4b73e69257d1 @{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=bccc7316-f4e2-46f3-88e2-4b73e69257d1 | 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.47 ] ${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.47 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.47 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.47 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.47 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.47 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.47 ] bab77098-183b-4283-aabb-17c0580a1cdd ${ns_id} Logs the given message with the given level. bab77098-183b-4283-aabb-17c0580a1cdd @{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 bab77098-183b-4283-aabb-17c0580a1cdd | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 57b651f3-606e-470c-b86c-7f1b923e9851 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 57b651f3-606e-470c-b86c-7f1b923e9851 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 57b651f3-606e-470c-b86c-7f1b923e9851 @{vnf_id_list} = [ 57b651f3-606e-470c-b86c-7f1b923e9851 ] @{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} 57b651f3-606e-470c-b86c-7f1b923e9851 ${vnf_id} Logs the given message with the given level. 57b651f3-606e-470c-b86c-7f1b923e9851 @{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=57b651f3-606e-470c-b86c-7f1b923e9851 | 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.168 ] ${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.168 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.168 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.168 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.168 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.168 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.47 | 172.21.249.168 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 172.21.248.47 1: 172.21.249.168 ${slice_vnfs_ips} ${temp_list} Makes a variable available everywhere within the scope of the current suite. ${slice_vnfs_ips} = ['172.21.248.47', '172.21.249.168'] 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.243 ${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.243 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.243 (172.21.249.243) 56(84) bytes of data. 64 bytes from 172.21.249.243: icmp_seq=1 ttl=63 time=2.33 ms 64 bytes from 172.21.249.243: icmp_seq=2 ttl=63 time=0.665 ms --- 172.21.249.24... ${stdout} Logs the given message with the given level. PING 172.21.249.243 (172.21.249.243) 56(84) bytes of data. 64 bytes from 172.21.249.243: icmp_seq=1 ttl=63 time=2.33 ms 64 bytes from 172.21.249.243: icmp_seq=2 ttl=63 time=0.665 ms --- 172.21.249.243 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.665/1.498/2.332/0.833 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.243: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 Fri Mar 29 04:54:46 UTC 2024 System load: 0.04 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.243 Memory usage: 12% IP address for ens4: 192.168.51.199 Swap usage: 0% IP address for ens5: 192.168.30.4 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.243: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 Fri Mar 29 04:54:48 UTC 2024 System load: 0.04 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.243 Memory usage: 12% IP address for ens4: 192.168.51.199 Swap usage: 0% IP address for ens5: 192.168.30.4 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: Fri Mar 29 04:54:47 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.248.47 ${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.47 > /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.168 ${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.168 > /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 b42da92f-2c0f-461f-8150-7c703431dea4 ${rc} ${success_return_code} Fails if objects are unequal after 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} = b42da92f-2c0f-461f-8150-7c703431dea4 '%{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 ca45106a-423f-4ef5-b621-76ee9a3267e0 ${rc} ${success_return_code} Fails if objects are unequal after 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} = ca45106a-423f-4ef5-b621-76ee9a3267e0 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 e1e44dcb-df54-4eb5-8d76-77895aac5939 ${rc} ${success_return_code} Fails if objects are unequal after 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} = e1e44dcb-df54-4eb5-8d76-77895aac5939 '%{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 95afe1a2-2a04-4588-9e91-556f7d0b03ca ${rc} ${success_return_code} Fails if objects are unequal after 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} = 95afe1a2-2a04-4588-9e91-556f7d0b03ca 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} = 849fa77b-ddb8-421f-a621-a066a84b1710 ${stdout} Logs the given message with the given level. 849fa77b-ddb8-421f-a621-a066a84b1710 ${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} = 20d15ae5-463a-4a05-a8be-9cbfeb3ec298 ${stdout} Logs the given message with the given level. 20d15ae5-463a-4a05-a8be-9cbfeb3ec298 ${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} = d4a96901-b711-4e8e-8ae0-baa96ea6ec71 ${stdout} Logs the given message with the given level. d4a96901-b711-4e8e-8ae0-baa96ea6ec71 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = d4a96901-b711-4e8e-8ae0-baa96ea6ec71 ${nsi_id} Logs the given message with the given level. d4a96901-b711-4e8e-8ae0-baa96ea6ec71 ${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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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 | d4a96901-b711-4e8e-8ae0-baa96ea6ec71 | 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} = d4a96901-b711-4e8e-8ae0-baa96ea6ec71 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = d4a96901-b711-4e8e-8ae0-baa96ea6ec71 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} = 3937617a-f96f-4264-bb34-a27060255d29 ${stdout} Logs the given message with the given level. 3937617a-f96f-4264-bb34-a27060255d29 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 3937617a-f96f-4264-bb34-a27060255d29 ${nsi_id} Logs the given message with the given level. 3937617a-f96f-4264-bb34-a27060255d29 ${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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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 | 3937617a-f96f-4264-bb34-a27060255d29 | 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} = 3937617a-f96f-4264-bb34-a27060255d29 ${nsi2_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi2_id} = 3937617a-f96f-4264-bb34-a27060255d29 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, '35df1269-141a-4180-af01-e44e5025b530') ${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 35df1269-141a-4180-af01-e44e5025b530 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.133 ${stdout} Logs the given message with the given level. 172.21.248.133 ${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.133 '${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.133 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 | f58aa428-1b9a-4a2c-b680-5d0419858ebb 35df1269-141a-4180-af01-e44e5025b530 dc4b8002-f3e1-4280-8254-122e235e0d71 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ f58aa428-1b9a-4a2c-b680-5d0419858ebb | 35df1269-141a-4180-af01-e44e5025b530 | dc4b8002-f3e1-4280-8254-122e235e0d71 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: f58aa428-1b9a-4a2c-b680-5d0419858ebb 1: 35df1269-141a-4180-af01-e44e5025b530 2: dc4b8002-f3e1-4280-8254-122e235e0d71 @{slice_ns_list} = [ f58aa428-1b9a-4a2c-b680-5d0419858ebb | 35df1269-141a-4180-af01-e44e5025b530 | dc4b8002-f3e1-4280-8254-122e235e0d71 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. f58aa428-1b9a-4a2c-b680-5d0419858ebb 35df1269-141a-4180-af01-e44e5025b530 dc4b8002-f3e1-4280-8254-122e235e0d71 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} f58aa428-1b9a-4a2c-b680-5d0419858ebb ${ns_id} Logs the given message with the given level. f58aa428-1b9a-4a2c-b680-5d0419858ebb @{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 f58aa428-1b9a-4a2c-b680-5d0419858ebb | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 32da8f60-f35d-47c2-bffa-0092f38dd5bd ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 32da8f60-f35d-47c2-bffa-0092f38dd5bd ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 32da8f60-f35d-47c2-bffa-0092f38dd5bd @{vnf_id_list} = [ 32da8f60-f35d-47c2-bffa-0092f38dd5bd ] @{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} 32da8f60-f35d-47c2-bffa-0092f38dd5bd ${vnf_id} Logs the given message with the given level. 32da8f60-f35d-47c2-bffa-0092f38dd5bd @{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=32da8f60-f35d-47c2-bffa-0092f38dd5bd | 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.48 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.48 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.48 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.48 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.48 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.48 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.48 ] 35df1269-141a-4180-af01-e44e5025b530 ${ns_id} Logs the given message with the given level. 35df1269-141a-4180-af01-e44e5025b530 @{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 35df1269-141a-4180-af01-e44e5025b530 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 8b951d42-9ee8-44b9-b796-aefaeee8293e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 8b951d42-9ee8-44b9-b796-aefaeee8293e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 8b951d42-9ee8-44b9-b796-aefaeee8293e @{vnf_id_list} = [ 8b951d42-9ee8-44b9-b796-aefaeee8293e ] @{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} 8b951d42-9ee8-44b9-b796-aefaeee8293e ${vnf_id} Logs the given message with the given level. 8b951d42-9ee8-44b9-b796-aefaeee8293e @{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=8b951d42-9ee8-44b9-b796-aefaeee8293e | 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.133 ] ${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.133 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.133 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.133 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.133 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.133 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.48 | 172.21.248.133 ] dc4b8002-f3e1-4280-8254-122e235e0d71 ${ns_id} Logs the given message with the given level. dc4b8002-f3e1-4280-8254-122e235e0d71 @{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 dc4b8002-f3e1-4280-8254-122e235e0d71 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | f11a06a3-7272-45bb-a89e-4de538e8ea14 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ f11a06a3-7272-45bb-a89e-4de538e8ea14 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: f11a06a3-7272-45bb-a89e-4de538e8ea14 @{vnf_id_list} = [ f11a06a3-7272-45bb-a89e-4de538e8ea14 ] @{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} f11a06a3-7272-45bb-a89e-4de538e8ea14 ${vnf_id} Logs the given message with the given level. f11a06a3-7272-45bb-a89e-4de538e8ea14 @{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=f11a06a3-7272-45bb-a89e-4de538e8ea14 | 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.235 ] ${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.235 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.235 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.235 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.235 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.235 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.48 | 172.21.248.133 | 172.21.248.235 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: 172.21.249.48 1: 172.21.248.133 2: 172.21.248.235 @{ip_list} = [ 172.21.249.48 | 172.21.248.133 | 172.21.248.235 ] ${ip_list} is not None Fails if the given condition is not true. ${slice1_vnfs_ips} ${ip_list} Makes a variable available everywhere within the scope of the current suite. ${slice1_vnfs_ips} = ['172.21.249.48', '172.21.248.133', '172.21.248.235'] 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.133 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.133 (172.21.248.133) 56(84) bytes of data. 64 bytes from 172.21.248.133: icmp_seq=1 ttl=63 time=2.74 ms 64 bytes from 172.21.248.133: icmp_seq=2 ttl=63 time=0.573 ms --- 172.21.248.13... ${stdout} Logs the given message with the given level. PING 172.21.248.133 (172.21.248.133) 56(84) bytes of data. 64 bytes from 172.21.248.133: icmp_seq=1 ttl=63 time=2.74 ms 64 bytes from 172.21.248.133: icmp_seq=2 ttl=63 time=0.573 ms --- 172.21.248.133 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.573/1.654/2.735/1.081 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.133: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 Fri Mar 29 05:00:47 UTC 2024 System load: 0.0 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.248.133 Memory usage: 12% IP address for ens4: 192.168.191.39 Swap usage: 0% IP address for ens5: 192.168.193.151 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.133: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 Fri Mar 29 05:00:49 UTC 2024 System load: 0.08 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.133 Memory usage: 12% IP address for ens4: 192.168.191.39 Swap usage: 0% IP address for ens5: 192.168.193.151 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: Fri Mar 29 05:00:48 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.249.48 ${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.48 > /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.133 ${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.133 > /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.235 ${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.235 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file and pings all the IP addresses in the list (slice1_vnfs_ips) cluster_slices daily regression slice_02 ${slice_name} Delete Network Slice Instance (NSI) Parameters: slice_name: Name of the slice instance slice_delete_max_wait_time: Delete operation timeout Execution example: Delete NST ${slice_name} ${rc} ${stdout} osm nsi-delete ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-delete slicebasic 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_pol_time} Check For Network Slice Instance To Be Deleted ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. Stops the slice instance (slice_name) cleanup cluster_slices daily regression slice_02 ${slice1_count} ${slice_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic | wc -l 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice1_count} = 1 ${slice2_count} ${slice2_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 11 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep sliceshared | wc -l 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice2_count} = 1 ${together} ${slice1_count} + ${slice2_count} Evaluates the given expression in Python and returns the result. ${together} = 2 ${together} 2 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Counts the NS in both slice instances and should be equal to 2 cluster_slices daily regression slice_02 @{ip_list} ${slice2_name} Retrieves the list of IP addresses that belong to each of the VNFs in the slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ip_address_list}= Get Slice Vnf Ip Addresses ${slice_name} @{slice_ns_list} ${slice_name} Retrieves the list of NS in a slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ns_list}= Get Slice Ns List ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 11 @{ns_list_string} osm ns-list | grep ${slice_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep sliceshared | awk '{print $4}' 2>&1'. @{ns_list_string} = [ 0 | f1e31d18-93f8-46da-870b-eafcb9df4f17 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ f1e31d18-93f8-46da-870b-eafcb9df4f17 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: f1e31d18-93f8-46da-870b-eafcb9df4f17 @{slice_ns_list} = [ f1e31d18-93f8-46da-870b-eafcb9df4f17 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. f1e31d18-93f8-46da-870b-eafcb9df4f17 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} f1e31d18-93f8-46da-870b-eafcb9df4f17 ${ns_id} Logs the given message with the given level. f1e31d18-93f8-46da-870b-eafcb9df4f17 @{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 f1e31d18-93f8-46da-870b-eafcb9df4f17 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | f1bd2f33-7129-4799-989f-3a82100684c0 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ f1bd2f33-7129-4799-989f-3a82100684c0 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: f1bd2f33-7129-4799-989f-3a82100684c0 @{vnf_id_list} = [ f1bd2f33-7129-4799-989f-3a82100684c0 ] @{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} f1bd2f33-7129-4799-989f-3a82100684c0 ${vnf_id} Logs the given message with the given level. f1bd2f33-7129-4799-989f-3a82100684c0 @{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=f1bd2f33-7129-4799-989f-3a82100684c0 | 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.131 ] ${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.131 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.131 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.131 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.131 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.131 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.131 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.131 @{ip_list} = [ 172.21.249.131 ] ${ip_list} is not None Fails if the given condition is not true. ${slice2_vnfs_ips} ${ip_list} Makes a variable available everywhere within the scope of the current suite. ${slice2_vnfs_ips} = ['172.21.249.131'] 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.133: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 Fri Mar 29 05:01:45 UTC 2024 System load: 0.03 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.133 Memory usage: 12% IP address for ens4: 192.168.191.39 Swap usage: 0% IP address for ens5: 192.168.193.151 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: Fri Mar 29 05:00:50 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.249.131 ${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.131 > /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 d38ca40b-728f-4699-b2e9-326298e5055a ${rc} ${success_return_code} Fails if objects are unequal after 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} = d38ca40b-728f-4699-b2e9-326298e5055a ${id} = d38ca40b-728f-4699-b2e9-326298e5055a ${vnfid} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfid} = d38ca40b-728f-4699-b2e9-326298e5055a ${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} = aba5ca6c-e3be-43ac-a9a8-4c6967be86e7 ${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} = aba5ca6c-e3be-43ac-a9a8-4c6967be86e7 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = aba5ca6c-e3be-43ac-a9a8-4c6967be86e7 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:02 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc', 'Content-Length': '546', 'Set-Cookie': 'session_id=1e1911cd525bf5f20857e6eb2d7e182d6e8dc38b; expires=Fri, 29 Mar 2024 06:03:02 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688582.273509, "expires": 1711692182.273509, "_id": "ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc", "id": "ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 62018, "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.12'. 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} = ['ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc ${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': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7', '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': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7', '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': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7', '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': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7', '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.12: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 ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc } ${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.12: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 ACBGpsephfYPEg3AmA3ZgSoZ43dTaeQc', 'Content-Length': '355'} body=b'{"vnfdId": "hackfest_basic_metrics-vnf", "vnfInstanceName": "sol003-instance", "vnfInstanceDescription": "Test vnfm instance description", "vimAccountId": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7", "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.12:9999/osm/vnflcm/v1/vnf_instances status=201, reason=Created headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:05 GMT', 'Location': '/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9', 'Content-Length': '53', 'Set-Cookie': 'session_id=2762ab875db2be19f3e675d97c81c2c2893bf5ab; expires=Fri, 29 Mar 2024 06:03:05 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['3ff295d0-4987-4816-b458-afa295ec7bb9'] ${createid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${createid} = 3ff295d0-4987-4816-b458-afa295ec7bb9 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:05 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK', 'Content-Length': '548', 'Set-Cookie': 'session_id=c5d81a830dc3a3d34c3fddb40980691467f86f12; expires=Fri, 29 Mar 2024 06:03:05 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688585.7113168, "expires": 1711692185.7113168, "_id": "LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK", "id": "LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 37982, "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.12'. 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} = ['LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK ${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': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7'} ${updated_json_obj} ${json_obj} $..vnfId ${createid} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '3ff295d0-4987-4816-b458-afa295ec7bb9', 'vimAccountId': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7'} ${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': '3ff295d0-4987-4816-b458-afa295ec7bb9', 'vimAccountId': 'aba5ca6c-e3be-43ac-a9a8-4c6967be86e7'} ${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.12: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 LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK } ${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.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/instantiate path_url=/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/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 LwbPfkkQKlEEQ18tn37BKfylxiLYrcwK', 'Content-Length': '168'} body=b'{"vnfName": "sol003-instance", "vnfDescription": "vnf package", "vnfId": "3ff295d0-4987-4816-b458-afa295ec7bb9", "vimAccountId": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7"}' POST Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/instantiate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:07 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e', 'Content-Length': '53', 'Set-Cookie': 'session_id=31cf15f627f8e225def1683febde2f7d13fa068f; expires=Fri, 29 Mar 2024 06:03:07 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['6972e197-85a0-4f6a-8cc9-0e4ecaa2784e'] ${instantiateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${instantiateid} = 6972e197-85a0-4f6a-8cc9-0e4ecaa2784e 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:20 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa', 'Content-Length': '546', 'Set-Cookie': 'session_id=2ef383568cba718b38d647b1543396b3ff742595; expires=Fri, 29 Mar 2024 06:03:20 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688600.014372, "expires": 1711692200.014372, "_id": "EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa", "id": "EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 58957, "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.12'. 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} = ['EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa ${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.12: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 EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12: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 EUrXy2xb7hzJ1QN5WNZIraIQov3MIeEa'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:22 GMT', 'Content-Length': '4519', 'Set-Cookie': 'session_id=c5a2d837c770131b49111215d816068a608facba; expires=Fri, 29 Mar 2024 06:03:22 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "nsr-id-ref": "65dd4431-cdfe-44c6-9503-8ca537ed2fc2", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1711688585.6190097, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "d38ca40b-728f-4699-b2e9-326298e5055a", "vim-account-id": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7", "vca-id": null, "vdur": [ { "_id": "c0776d98-16bc-4d0f-af88-3e7b8be06cde", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "65dd4431-cdfe-44c6-9503-8ca537ed2fc2", "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": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7", "vnf_id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "vnfd_id": "d38ca40b-728f-4699-b2e9-326298e5055a", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "d38ca40b-728f-4699-b2e9-326298e5055a:file:cloud-config", "count-index": 0, "id": "c0776d98-16bc-4d0f-af88-3e7b8be06cde", "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:aba5ca6c-e3be-43ac-a9a8-4c6967be86e7": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "50f84e3c-286e-4415-85c6-2487e8f70363", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "50f84e3c-286e-4415-85c6-2487e8f70363" } ], "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": 1711688585.6191523, "modified": 1711688585.6191523, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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.12'. 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} = ['3ff295d0-4987-4816-b458-afa295ec7bb9', 'c0776d98-16bc-4d0f-af88-3e7b8be06cde'] ${Queryid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Queryid} = 3ff295d0-4987-4816-b458-afa295ec7bb9 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:22 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT', 'Content-Length': '548', 'Set-Cookie': 'session_id=61b6f568d7edc4ddbe8679d04b18cdf80bde5120; expires=Fri, 29 Mar 2024 06:03:22 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688602.2008083, "expires": 1711692202.2008083, "_id": "9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT", "id": "9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 31686, "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.12'. 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} = ['9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT ${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.12: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 9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 path_url=/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9VeIImobbPp6A9cb2Pu9mNLd41G7YZjT'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:24 GMT', 'Content-Length': '4071', 'Set-Cookie': 'session_id=fb578a741332ffc08dc8c35ddad546891c3bdee0; expires=Fri, 29 Mar 2024 06:03:24 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "nsr-id-ref": "65dd4431-cdfe-44c6-9503-8ca537ed2fc2", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1711688585.6190097, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "d38ca40b-728f-4699-b2e9-326298e5055a", "vim-account-id": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7", "vca-id": null, "vdur": [ { "_id": "c0776d98-16bc-4d0f-af88-3e7b8be06cde", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "65dd4431-cdfe-44c6-9503-8ca537ed2fc2", "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": "aba5ca6c-e3be-43ac-a9a8-4c6967be86e7", "vnf_id": "3ff295d0-4987-4816-b458-afa295ec7bb9", "vnfd_id": "d38ca40b-728f-4699-b2e9-326298e5055a", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "d38ca40b-728f-4699-b2e9-326298e5055a:file:cloud-config", "count-index": 0, "id": "c0776d98-16bc-4d0f-af88-3e7b8be06cde", "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:aba5ca6c-e3be-43ac-a9a8-4c6967be86e7": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "50f84e3c-286e-4415-85c6-2487e8f70363", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "50f84e3c-286e-4415-85c6-2487e8f70363" } ], "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": 1711688585.6191523, "modified": 1711688585.6191523, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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.12'. 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} = ['3ff295d0-4987-4816-b458-afa295ec7bb9', 'c0776d98-16bc-4d0f-af88-3e7b8be06cde'] ${Instanceid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Instanceid} = 3ff295d0-4987-4816-b458-afa295ec7bb9 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:24 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/bX6fapySLueVrA0nvsbvNzwFwzjgzjOW', 'Content-Length': '548', 'Set-Cookie': 'session_id=4dc9bbe2fd59054c0c3d8ccf3164cd4fc893df4c; expires=Fri, 29 Mar 2024 06:03:24 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688604.3984768, "expires": 1711692204.3984768, "_id": "bX6fapySLueVrA0nvsbvNzwFwzjgzjOW", "id": "bX6fapySLueVrA0nvsbvNzwFwzjgzjOW", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 63972, "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.12'. 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} = ['bX6fapySLueVrA0nvsbvNzwFwzjgzjOW', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = bX6fapySLueVrA0nvsbvNzwFwzjgzjOW ${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.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW'} body=None GET Response : url=https://172.21.249.12: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': 'Fri, 29 Mar 2024 05:03:26 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=43ff526ae0e9a2ab39b01145d39d09beb52209c2; expires=Fri, 29 Mar 2024 06:03:26 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688587.8772252, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688603.3223186, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['6972e197-85a0-4f6a-8cc9-0e4ecaa2784e'] ${lcmops} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmops} = 6972e197-85a0-4f6a-8cc9-0e4ecaa2784e ${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.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW'} body=None GET Response : url=https://172.21.249.12: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': 'Fri, 29 Mar 2024 05:03:26 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=328b7334758b113cff8dc954a635225280d80a54; expires=Fri, 29 Mar 2024 06:03:26 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688587.8772252, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688603.3223186, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW'} body=None GET Response : url=https://172.21.249.12: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': 'Fri, 29 Mar 2024 05:03:36 GMT', 'Content-Length': '1300', 'Set-Cookie': 'session_id=aabad2b25611c24f92ed799b79ef88ed5f97f435; expires=Fri, 29 Mar 2024 06:03:36 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688587.8772252, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688603.3223186, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12: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 bX6fapySLueVrA0nvsbvNzwFwzjgzjOW'} body=None GET Response : url=https://172.21.249.12: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': 'Fri, 29 Mar 2024 05:03:46 GMT', 'Content-Length': '1154', 'Set-Cookie': 'session_id=89ab4922c27746d3b7f46934a6dbda0dfba5f3c6; expires=Fri, 29 Mar 2024 06:03:46 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688618.3745782, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688618.3745797, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:46 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9', 'Content-Length': '546', 'Set-Cookie': 'session_id=39243307fd5c388ffc4e61afa1fae277d1b16dfa; expires=Fri, 29 Mar 2024 06:03:46 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688626.778071, "expires": 1711692226.778071, "_id": "Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9", "id": "Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 22482, "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.12'. 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} = ['Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9 ${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.12: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 Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:48 GMT', 'Content-Length': '1026', 'Set-Cookie': 'session_id=abf2f5707294ca6fc0161a7f5111fcc902c7e711; expires=Fri, 29 Mar 2024 06:03:48 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688618.3745782, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688618.3745797, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['6972e197-85a0-4f6a-8cc9-0e4ecaa2784e'] ${lcmopsid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsid} = 6972e197-85a0-4f6a-8cc9-0e4ecaa2784e ${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.12: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 Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Cc9OokCrHTEx4lpqo6qeLzMnk9DROjw9'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:48 GMT', 'Content-Length': '1026', 'Set-Cookie': 'session_id=2564fba242f98157e537a8434ea3fe062a6c5414; expires=Fri, 29 Mar 2024 06:03:48 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "id": "6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688618.3745782, "lcmOperationType": "instantiate", "startTime": 1711688587.8772252, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688587.87726, "modified": 1711688618.3745797, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/6972e197-85a0-4f6a-8cc9-0e4ecaa2784e", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:48 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM', 'Content-Length': '546', 'Set-Cookie': 'session_id=2d872be4b0620640d8a4d8444efc74a796250c9b; expires=Fri, 29 Mar 2024 06:03:48 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688628.994185, "expires": 1711692228.994185, "_id": "CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM", "id": "CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 25897, "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.12'. 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} = ['CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM ${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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${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.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/scale path_url=/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM', '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.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/scale status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:51 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5', 'Content-Length': '53', 'Set-Cookie': 'session_id=af3d12759be82d6364b1413540974ece0f5f5445; expires=Fri, 29 Mar 2024 06:03:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "45a4952a-d082-40e4-a105-038319bc6aa5" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['45a4952a-d082-40e4-a105-038319bc6aa5'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = 45a4952a-d082-40e4-a105-038319bc6aa5 ${value} = 45a4952a-d082-40e4-a105-038319bc6aa5 ${ID1} ${request_response.json()} $..id Get Value From JSON using JSONPath ${ID1} = ['45a4952a-d082-40e4-a105-038319bc6aa5'] ${scaleoutid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${scaleoutid} = 45a4952a-d082-40e4-a105-038319bc6aa5 ${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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:51 GMT', 'Content-Length': '997', 'Set-Cookie': 'session_id=714dd938a63f65368f825a73b877906e4355e8fe; expires=Fri, 29 Mar 2024 06:03:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "45a4952a-d082-40e4-a105-038319bc6aa5", "id": "45a4952a-d082-40e4-a105-038319bc6aa5", "operationState": "PROCESSING", "queuePosition": null, "stage": null, "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688631.0873017, "lcmOperationType": "scale", "startTime": 1711688631.0873017, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688631.0873358, "modified": 1711688631.0873358, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['45a4952a-d082-40e4-a105-038319bc6aa5'] ${lcmopsscaleid} ${LcmopsScale[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 45a4952a-d082-40e4-a105-038319bc6aa5 ${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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:03:51 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=d7720b511768dc90bb99a480904bf2cd790da18f; expires=Fri, 29 Mar 2024 06:03:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "45a4952a-d082-40e4-a105-038319bc6aa5", "id": "45a4952a-d082-40e4-a105-038319bc6aa5", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688631.0873017, "lcmOperationType": "scale", "startTime": 1711688631.0873017, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688631.0873358, "modified": 1711688631.2676458, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:01 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=40466ce491e4f40057cc9894109cdd5c6165e0af; expires=Fri, 29 Mar 2024 06:04:01 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "45a4952a-d082-40e4-a105-038319bc6aa5", "id": "45a4952a-d082-40e4-a105-038319bc6aa5", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688631.0873017, "lcmOperationType": "scale", "startTime": 1711688631.0873017, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688631.0873358, "modified": 1711688631.2676458, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:11 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=a14897ea93e0333d0cbf2c818d183f5fda0279d9; expires=Fri, 29 Mar 2024 06:04:11 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "45a4952a-d082-40e4-a105-038319bc6aa5", "id": "45a4952a-d082-40e4-a105-038319bc6aa5", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688631.0873017, "lcmOperationType": "scale", "startTime": 1711688631.0873017, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688631.0873358, "modified": 1711688631.2676458, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer CdlzBW4zJCLwg67jdcVXHh8fcXcDWeIM'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:21 GMT', 'Content-Length': '1021', 'Set-Cookie': 'session_id=83696bd919800cf149e4989521f2fb86f1120e84; expires=Fri, 29 Mar 2024 06:04:21 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "45a4952a-d082-40e4-a105-038319bc6aa5", "id": "45a4952a-d082-40e4-a105-038319bc6aa5", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688661.312497, "lcmOperationType": "scale", "startTime": 1711688631.0873017, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688631.0873358, "modified": 1711688661.3124976, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/45a4952a-d082-40e4-a105-038319bc6aa5", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:21 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV', 'Content-Length': '547', 'Set-Cookie': 'session_id=4fa0f1599d96af1a776faf6e43e8a7c1fe3784b8; expires=Fri, 29 Mar 2024 06:04:21 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688661.7042177, "expires": 1711692261.7042177, "_id": "WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV", "id": "WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 1163, "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.12'. 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} = ['WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV ${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.12: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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV } ${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.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/terminate path_url=/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV', 'Content-Length': '66'} body=b'{"terminationType": "GRACEFUL", "gracefulTerminationTimeout": "5"}' POST Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9/terminate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:23 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18', 'Content-Length': '53', 'Set-Cookie': 'session_id=28025b439f527f6da8be8d78e28b031e9768a1c2; expires=Fri, 29 Mar 2024 06:04:23 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "a554a63e-345e-4cfd-9cde-3e07b5653f18" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['a554a63e-345e-4cfd-9cde-3e07b5653f18'] ${terminateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${terminateid} = a554a63e-345e-4cfd-9cde-3e07b5653f18 ${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.12: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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:23 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=7a916cda94e819abe320eacbfb6bade99c0df892; expires=Fri, 29 Mar 2024 06:04:23 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688663.8085787, "lcmOperationType": "terminate", "startTime": 1711688663.8085787, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688663.8086126, "modified": 1711688663.89831, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/a554a63e-345e-4cfd-9cde-3e07b5653f18", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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} = ['a554a63e-345e-4cfd-9cde-3e07b5653f18'] ${lcmopsscaleid} ${LcmopsTerminate[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = a554a63e-345e-4cfd-9cde-3e07b5653f18 ${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.12: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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:24 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=d50aa841ade5412535dc6850b4417ac9d2a46e48; expires=Fri, 29 Mar 2024 06:04:24 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688663.8085787, "lcmOperationType": "terminate", "startTime": 1711688663.8085787, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688663.8086126, "modified": 1711688663.89831, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/a554a63e-345e-4cfd-9cde-3e07b5653f18", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:34 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=af5db2b0f5506467cf6552145083d66804714800; expires=Fri, 29 Mar 2024 06:04:34 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688663.8085787, "lcmOperationType": "terminate", "startTime": 1711688663.8085787, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688663.8086126, "modified": 1711688663.89831, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "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/a554a63e-345e-4cfd-9cde-3e07b5653f18", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12: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 WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer WpyIG5qNcWpDgoO2Kwe7DSxl5a7rtxZV'} body=None GET Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:44 GMT', 'Content-Length': '1025', 'Set-Cookie': 'session_id=d4b86ddfd2147be05d399185fcb9d4282b5cf353; expires=Fri, 29 Mar 2024 06:04:44 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "id": "a554a63e-345e-4cfd-9cde-3e07b5653f18", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711688678.955927, "lcmOperationType": "terminate", "startTime": 1711688663.8085787, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711688663.8086126, "modified": 1711688678.9559288, "projects_read": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "projects_write": [ "c2ca7b14-aa50-4937-a6f1-8c499377a4b4" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/a554a63e-345e-4cfd-9cde-3e07b5653f18", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9" }, "vnfInstanceId": "3ff295d0-4987-4816-b458-afa295ec7bb9" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.12'. 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.12 ${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.12' 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.12:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.12: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.12: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.12:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:44 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i', 'Content-Length': '546', 'Set-Cookie': 'session_id=539c8d47c3dd4bfbbd73fe1db2844be6ad92126a; expires=Fri, 29 Mar 2024 06:04:44 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711688684.282822, "expires": 1711692284.282822, "_id": "00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i", "id": "00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i", "project_id": "c2ca7b14-aa50-4937-a6f1-8c499377a4b4", "project_name": "admin", "username": "admin", "user_id": "da74b360-1b5d-41f9-85b6-79fe3c3c5b64", "admin": true, "roles": [ { "name": "system_admin", "id": "2760b03e-1908-42a5-8a53-c710ee16da99" } ], "remote_port": 34093, "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.12'. 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} = ['00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i', '2760b03e-1908-42a5-8a53-c710ee16da99'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i ${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.12: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 00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i } ${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.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 path_url=/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 00S5t1pDM2aKSgDZmDNUTo5mfp6I5H1i', 'Content-Length': '0'} body=None DELETE Response : url=https://172.21.249.12:9999/osm/vnflcm/v1/vnf_instances/3ff295d0-4987-4816-b458-afa295ec7bb9 status=204, reason=No Content headers={'Content-Type': 'text/html;charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Fri, 29 Mar 2024 05:04:46 GMT', 'Set-Cookie': 'session_id=03280a60cd47e47e68c00dc5ccd7fe6d17057450; expires=Fri, 29 Mar 2024 06:04:46 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.12'. 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